@mermaid-editor-sdk/headless / DiagramEdge
Interface: DiagramEdge
Defined in: core/diagram-model.ts:70
Renderable relationship in a parsed diagram model.
Properties
attributes
readonlyattributes:Readonly<Record<string,string>>
Defined in: core/diagram-model.ts:88
Renderer attributes associated with the edge.
diagramType
readonlydiagramType:EditableDiagramType
Defined in: core/diagram-model.ts:76
Diagram syntax represented by the edge.
id
readonlyid:string
Defined in: core/diagram-model.ts:72
Stable model identifier for the edge.
kind
readonlykind:"edge"
Defined in: core/diagram-model.ts:74
Discriminant identifying this element as an edge.
label
readonlylabel:string
Defined in: core/diagram-model.ts:84
Relationship label.
occurrence
readonlyoccurrence:number
Defined in: core/diagram-model.ts:86
Zero-based occurrence among equivalent relationships.
operator
readonlyoperator:string
Defined in: core/diagram-model.ts:82
Mermaid relationship operator.
source
readonlysource:string
Defined in: core/diagram-model.ts:78
Source node identifier.
target
readonlytarget:string
Defined in: core/diagram-model.ts:80
Target node identifier.