Back to Mermaid

Ishikawa diagram (v11.12.3+)

docs/syntax/ishikawa.md

11.0.01.7 KB
Original Source

Warning

THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.

Please edit the corresponding file in /packages/mermaid/src/docs/syntax/ishikawa.md.

Ishikawa diagram (v11.12.3+)

Ishikawa diagrams are used to represent causes of a specific event (or a problem). They are also known as fishbone diagrams, herringbone diagrams or cause-and-effect diagrams. The diagram resembles a fish skeleton, with the main problem at the head and the causes branching off from the spine.

Warning This is a new diagram type in Mermaid. Its syntax may evolve in future versions.

Syntax

mermaid-example
ishikawa-beta
    Blurry Photo
    Process
        Out of focus
        Shutter speed too slow
        Protective film not removed
        Beautification filter applied
    User
        Shaky hands
    Equipment
        LENS
            Inappropriate lens
            Damaged lens
            Dirty lens
        SENSOR
            Damaged sensor
            Dirty sensor
    Environment
        Subject moved too quickly
        Too dark
mermaid
ishikawa-beta
    Blurry Photo
    Process
        Out of focus
        Shutter speed too slow
        Protective film not removed
        Beautification filter applied
    User
        Shaky hands
    Equipment
        LENS
            Inappropriate lens
            Damaged lens
            Dirty lens
        SENSOR
            Damaged sensor
            Dirty sensor
    Environment
        Subject moved too quickly
        Too dark
  • The first line is the event (problem) of the diagram.
  • Subsequent lines are causes of the event.
  • "Fishbone" structure is indicated by indentation.