We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Diagrams · Mermaid 12
Write the diagram. Read the picture.
Put a diagram in Mermaid, the text notation GitHub and many wikis use, between mermaid fences, and Pragmatic Markdown draws it in place. The Mermaid 12 that does the drawing comes inside the app. It works offline, with no account, and your diagrams never leave your device.
```mermaid
flowchart LR
Plan --> Observe --> Process
Observe -- clouds --> Plan
```
Every kind
Twenty-three kinds, and counting.
Structure
Flowcharts, block diagrams, class diagrams, state diagrams, entity relationship diagrams, requirement diagrams, C4 context diagrams, use case diagrams and architecture diagrams.
Over time
Sequence diagrams, Gantt charts, timelines, user journeys, Git graphs and Kanban boards.
Data
Pie charts, XY charts, quadrant charts, Sankey diagrams, radar charts, treemaps and packet diagrams.
Ideas
Mind maps.
Zoom
Zoom the diagram, not the page.
Every diagram has its own zoom, from half size to three and a half times, with a button back to 100%. At 100% a diagram fits the column, and a small one is never blown up. Zoom past the column and the diagram scrolls sideways in its own frame, while the text around it stays the size you chose.
Themes
Diagrams wear the document’s theme.
Change the theme and every diagram follows. On a light page diagrams keep Mermaid’s own colours. On the darker themes they sit on a light card, so those colours still read. In Astronomy they turn red: boxes, lines, labels, and every slice and series in a range of reds, with no blue or green anywhere to cost you your night vision.
```mermaid
---
config:
layout: elk
---
flowchart LR
Plan --> Observe --> Process
Observe -- clouds --> Plan
```
Front matter
Your settings come along.
A diagram’s front matter works as Mermaid documents it. When a flowchart gets crowded, ask for the ELK layout.
Share
Take a diagram with you.
Share any diagram as an SVG, the picture that stays sharp at any size, with the apps that take one. On the Mac you can also save it as an SVG file, and on iPhone and iPad save it to Photos as an image. In copy mode, a diagram copies as its Mermaid text, ready to paste into a wiki or an issue.
Good to know
What it doesn’t do.
- ZenUML diagrams and icon packs such as Font Awesome aren’t included.
- A diagram with a mistake shows Mermaid’s message above its source, with a caret under the spot when Mermaid gives one.
One purchase. Mac, iPad and iPhone.
No subscription, no account, no tracking.
Coming soon to the App Store
Requires macOS 15.6 or iOS and iPadOS 18.6.