Skip to content

Ishikawa (Fishbone) Diagram

Last updated:

Mermaid Studio provides language support for Ishikawa diagrams (also known as fishbone or cause-and-effect diagrams) inside IntelliJ IDEA and other JetBrains IDEs. Ishikawa diagrams organize potential causes of a problem into categories branching off a central spine, and are widely used in quality management and root cause analysis.

Syntax highlighting integrates directly with IntelliJ’s color scheme system, so diagram colors always match your editor theme.

Ishikawa diagram syntax highlighting in Armada Dark theme

The summary below shows the IDE support Mermaid Studio ships for Ishikawa diagrams, grouped by capability.

IDE feature supportSelect a feature for its description.
Editing
Code Intelligence
Validation
Navigation & Docs

Highlighting is depth-based, so each indentation level of causes gets its own color. The formatter aligns line comments with the following node, keeping fully commented branches readable as branches.

ishikawa-beta
Website Downtime
Infrastructure
Server overload
Network failure
Software
Memory leak
Unhandled exception
Process
No monitoring
Slow incident response
People
Insufficient training
Key person dependency

Key elements:

  • Start with ishikawa-beta (or ishikawa). Requires Mermaid.js 11.13.0+
  • The first line after the keyword is the event - the problem being analyzed (the “head” of the fish)
  • Subsequent lines are causes (the “bones” of the fishbone)
  • Indentation determines hierarchy - deeper indentation creates sub-causes
  • Use <br> or <br/> for multi-line labels

For complete syntax details, see the Mermaid Ishikawa documentation.