@mermaid-editor-sdk/headless / FlowchartEdge
Interface: FlowchartEdge
Defined in: source/flowchart-mutations.ts:25
A parsed flowchart edge and offsets for its editable source syntax.
Properties
inlineLabel?
optionalinlineLabel?:boolean
Defined in: source/flowchart-mutations.ts:47
Whether the label uses inline edge syntax.
label
label:
string
Defined in: source/flowchart-mutations.ts:33
Displayed label.
labelEnd?
optionallabelEnd?:number
Defined in: source/flowchart-mutations.ts:45
End offset of the label, when present.
labelStart?
optionallabelStart?:number
Defined in: source/flowchart-mutations.ts:43
Start offset of the label, when present.
lineStart
lineStart:
number
Defined in: source/flowchart-mutations.ts:35
Start offset of the source line.
occurrence
occurrence:
number
Defined in: source/flowchart-mutations.ts:49
Zero-based occurrence among matching elements.
operator
operator:
string
Defined in: source/flowchart-mutations.ts:31
Mermaid relationship or edge operator.
operatorEnd
operatorEnd:
number
Defined in: source/flowchart-mutations.ts:39
End offset of the operator token.
operatorStart
operatorStart:
number
Defined in: source/flowchart-mutations.ts:37
Start offset of the operator token.
source
source:
string
Defined in: source/flowchart-mutations.ts:27
Source element or entity identifier.
syntaxEnd
syntaxEnd:
number
Defined in: source/flowchart-mutations.ts:41
End offset of the edge syntax.
target
target:
string
Defined in: source/flowchart-mutations.ts:29
Target element or entity identifier.