# Mermaid Ishikawa Diagram Cheat Sheet

One problem, and the causes under it.

## The problem and its causes

The first line is the problem. The lines under it are the causes, and the indentation is the bone.

```mermaid
ishikawa-beta
    Blurry photo
    Camera
        Out of focus
        Shutter speed too slow
    Environment
        Too dark
```

![A fishbone diagram with Blurry photo at the head and two bones, Camera and Environment, each carrying two causes.](/diagrams/ishikawa/basic.svg)

## Grouping the causes

A cause one level in is a group, and the lines under it are the reasons for that cause.

```mermaid
ishikawa-beta
    Blurry photo
    Camera
        Out of focus
        Dirty lens
    User
        Shaky hands
```

![A fishbone diagram with Blurry photo at the head and two bones, Camera and User, each carrying two reasons.](/diagrams/ishikawa/groups.svg)

## Draw it in Mernyx.

Open a .mmd file, move a node on the canvas, and the source comes with it. Native on macOS, no browser involved.
