@mermaid-editor-sdk/headless


@mermaid-editor-sdk/headless / FlowchartNode

Interface: FlowchartNode

Defined in: source/flowchart-mutations.ts:7

A parsed flowchart node and its source location.

Properties

declaration

declaration: boolean

Defined in: source/flowchart-mutations.ts:21

Whether this token declares the element.


id

id: string

Defined in: source/flowchart-mutations.ts:9

Element or palette item identifier.


label

label: string

Defined in: source/flowchart-mutations.ts:11

Displayed label.


lineStart

lineStart: number

Defined in: source/flowchart-mutations.ts:15

Start offset of the source line.


shape

shape: FlowchartNodeShape

Defined in: source/flowchart-mutations.ts:13

Node shape.


tokenEnd

tokenEnd: number

Defined in: source/flowchart-mutations.ts:19

End offset of the source token.


tokenStart

tokenStart: number

Defined in: source/flowchart-mutations.ts:17

Start offset of the source token.