@mermaid-editor-sdk/headless / DiagramNode
Interface: DiagramNode
Defined in: core/diagram-model.ts:54
Renderable node in a parsed diagram model.
Properties
attributes
readonlyattributes:Readonly<Record<string,string>>
Defined in: core/diagram-model.ts:66
Renderer attributes associated with the node.
diagramType
readonlydiagramType:EditableDiagramType
Defined in: core/diagram-model.ts:60
Diagram syntax represented by the node.
id
readonlyid:string
Defined in: core/diagram-model.ts:56
Stable model identifier for the node.
kind
readonlykind:"node"
Defined in: core/diagram-model.ts:58
Discriminant identifying this element as a node.
label
readonlylabel:string
Defined in: core/diagram-model.ts:62
Display label.
shape?
readonlyoptionalshape?:FlowchartNodeShape
Defined in: core/diagram-model.ts:64
Flowchart node shape, when applicable.