@mermaid-editor-sdk/headless / setFlowchartEdge
Function: setFlowchartEdge()
setFlowchartEdge(
source,edge,update):string
Defined in: source/flowchart-mutations.ts:582
Updates one flowchart edge.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | string | Mermaid source to inspect or update. |
edge | FlowchartEdge | Edge to update or delete. |
update | FlowchartEdgeUpdate | Properties to apply to the element. |
Returns
string