merIDK / Diagram types / Fishbone (Ishikawa) diagram
Mermaid fishbone (Ishikawa) diagram: example and syntax
Fishbone diagrams, also called Ishikawa or cause-and-effect diagrams, list the possible causes of a problem by category. Teams use them in incident post-mortems and in quality work.
Open this example in the editor
Example code
ishikawa-beta
Slow page load
Network
High latency
No CDN
Code
Large bundle
Blocking scripts
Data
Unindexed queries
Infrastructure
Undersized server
Result
ishikawa-beta
Slow page load
Network
High latency
No CDN
Code
Large bundle
Blocking scripts
Data
Unindexed queries
Infrastructure
Undersized serverSyntax quick reference
- The first line after
ishikawa-betais the problem. - Indented lines are categories, such as People, Process and Equipment.
- Indent again for causes and sub-causes.
How to use it
- Open the example in the editor, or paste your own Mermaid code.
- Edit the code on the left. The preview updates as you type, and errors point to the line.
- Export SVG or PNG, copy a Markdown block for GitHub or Notion, or copy a share link.