mermaid_to_excalidraw
Convert Mermaid flowchart syntax into an editable Excalidraw diagram. Automatically styles nodes like databases based on labels for architecture diagrams.
Instructions
Convert Mermaid flowchart syntax into an Excalidraw diagram.
Supports the mermaid flowchart subset that AI agents commonly generate:
Directions: graph TD, LR, BT, RL
Node shapes: [text], {text}, ((text)), ([text])
Edge types: -->, ---, -.-> ==> with |label|
Subgraphs: subgraph Title ... end
Component types are auto-detected from node labels (e.g., a node labeled "PostgreSQL DB" automatically gets database styling).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | Color theme - "default", "dark", "colorful". Default: "default" | default |
| output_path | Yes | File path to save the .excalidraw file. | |
| mermaid_syntax | Yes | Mermaid flowchart source code. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |