@mermaid-editor-sdk/headless / DiagramSubgraph
Interface: DiagramSubgraph
Defined in: core/diagram-model.ts:92
Flowchart subgraph represented in the renderer model.
Properties
attributes
readonlyattributes:Readonly<Record<string,string>>
Defined in: core/diagram-model.ts:102
Renderer attributes associated with the subgraph.
diagramType
readonlydiagramType:"flowchart"
Defined in: core/diagram-model.ts:98
Subgraphs are currently supported for flowcharts.
id
readonlyid:string
Defined in: core/diagram-model.ts:94
Stable model identifier for the subgraph.
kind
readonlykind:"subgraph"
Defined in: core/diagram-model.ts:96
Discriminant identifying this element as a subgraph.
label
readonlylabel:string
Defined in: core/diagram-model.ts:100
Displayed subgraph label.