miro_generate_diagram
Create diagrams on Miro boards using Mermaid code. Generate flowcharts, sequence diagrams, and process flows with automatic layout and professional stencils.
Instructions
Generate diagram on Miro from Mermaid code. Creates shapes and connectors with auto-layout.
USE WHEN: "create flowchart", "generate diagram", "draw process flow", "sequence diagram"
TYPES: flowchart/graph, sequenceDiagram FLOWCHART: A[rect] --> B{diamond} -->|label| C((circle)) SEQUENCE: participant A; A->>B: sync; A-->>B: async
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| board_id | Yes | Board ID to create the diagram on | |
| diagram | Yes | Diagram code in Mermaid format (flowchart/graph syntax) | |
| start_x | No | Starting X position (default: 0) | |
| start_y | No | Starting Y position (default: 0) | |
| node_width | No | Width of each node (default: 180) | |
| parent_id | No | Parent frame ID to create diagram inside | |
| use_stencils | No | Use professional flowchart stencils instead of basic shapes. Provides better visual styling with proper flowchart symbols (terminator, process, decision, I/O). | |
| output_mode | No | Output mode: 'discrete' (default) returns individual items, 'grouped' groups all items together for easy move/delete, 'framed' creates a frame containing all items |