Mermaid Import
BetaPaste the syntax, get the diagram.
Paste a Mermaid flowchart onto the canvas and it becomes a native, editable diagram with real shapes, labelled arrows, and coloured groups.
What it does
If you already have Mermaid syntax, paste it straight onto the canvas. GoDraw turns a Mermaid flowchart into a native diagram: real shapes, elbow arrows with their labels, and subgraphs as coloured groups. Everything is laid out automatically, and every piece is editable, ready to restyle and rearrange.
How it works
Copy your Mermaid
Copy a flowchart definition. It can be bare, or wrapped in a ```mermaid code fence, as you'd find it in a README or a chat reply.
Paste onto the canvas
Press CmdV. The flowchart is parsed and drawn as shapes and arrows.
Edit freely
Move, restyle, and relabel it like anything you drew by hand. Changed your mind? The whole paste is a single undo step.
Note
Pasting Mermaid uses no AI credits. It's parsed right in your browser.
What's supported
Flowcharts declared with graph or flowchart, in any direction: TD, TB, BT,
LR, or RL.
Node shapes
| Mermaid | Becomes |
|---|---|
A[Text] | Box |
A(Text) | Rounded box |
A([Text]) | Stadium |
A[[Text]] | Subroutine |
A[(Text)] | Cylinder (database) |
A((Text)) | Circle |
A{Text} | Diamond (decision) |
A{{Text}} | Hexagon |
A[/Text/] | Parallelogram |
Edges
| Mermaid | Becomes |
|---|---|
A --> B | Arrow |
A --- B | Line with no arrowhead |
A -.-> B | Dashed arrow |
A ==> B | Arrow (thick links are drawn as normal arrows) |
A <--> B | Two-way arrow |
- Labels: write
A -->|label| BorA -- label --> B. - Chains:
A --> B --> Cconnects each step in turn. - Fan-out:
A & B --> Cconnects both sources toC. - Subgraphs become coloured groups, and nested subgraphs work too.
Note
Styling lines (classDef, style, click, and linkStyle) are ignored. Other
Mermaid diagram types, such as sequence, class, ER, and gantt, are pasted as plain
text with a note that only flowcharts become shapes for now.
Example
flowchart TD
A[Start] --> B{Logged in?}
B -- Yes --> C[Dashboard]
B -- No --> D[Login]
subgraph Auth
D --> E[(Users DB)]
end
Tip
Diagrams from Mermaid are fully editable. Once they're on the canvas, they behave like any shapes you drew by hand.
Coming soon
- Sequence, class, ER, and other Mermaid diagram types as shapes