AddNativeDiagramFromMermaidQuery

type AddNativeDiagramFromMermaidQuery: object;

Type declaration

m

m: string;

A mermaid diagram syntax string, e.g., flowchart TD\nA --> B

o?

optional o: Point;

The point on the canvas at which to place the diagram. Defaults to the viewport center.

p?

optional p: string;

The page on which to create the diagram. Defaults to the visible page for backwards compatibility.

t

t: MermaidDiagramType;

Type of diagram as an enum, e.g., flowchart.