import_mermaid
Adds Mermaid flowcharts, state diagrams, or sequence diagrams to an Inkboard board with automatic layout and returns the created shape IDs.
Instructions
Adds a Mermaid diagram (flowchart/graph, stateDiagram, sequenceDiagram) with automatic layout. Returns the ids created.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X of the top-left corner. Defaults to below the existing content. | |
| y | No | Y of the top-left corner. | |
| page | No | Page: number (from 1) or name. Defaults to the first. | |
| path | No | Path of the board file (.inkboard; .inkboard.json and .tableau.json also accepted). Optional when the application is open: the tool then acts live on the displayed board (undoable with Ctrl+Z). | |
| mermaid | Yes | ||
| new_page | No | Create a new page for the diagram. |