Generate Mermaid Flowchart
generateMermaidDiagramGenerate raw Mermaid flowchart syntax for quick text-only diagrams. Supports optional Iconify icons for enhanced node labels.
Instructions
Use only when a user explicitly requests raw Mermaid syntax. Great for quick text-only flowcharts or when they need to edit Mermaid directly. For architecture, repositories, and anything that benefits from images/groups, prefer generateSystemDiagram or generateCodeDiagram. Supports optional Iconify icons (e.g., Node["fa:database Database"]). Only flowcharts are supported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the diagram | |
| content | Yes | Mermaid definition for a flowchart (e.g., `flowchart LR` or `graph TD`). You can optionally add Iconify icons to nodes for better visual clarity using the syntax: `NodeID["<iconSet>:<iconName> Label"]` (e.g., `fa:user`). Icons are not required for every node, use them selectively to enhance important or distinct components. |