developer_mermaid_generate
Generate valid Mermaid markup for flowcharts, sequence, class, and ER diagrams from diagram type and connection lines, with optional title.
Instructions
Format and construct a syntax-valid Mermaid diagram markup.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The diagram type. | |
| title | No | Optional title of the diagram. | |
| elements | Yes | List of connection/definition lines (e.g. ['A --> B', 'B --> C'] for flowchart, ['Alice->>Bob: Hello' for sequence]). |