@mermaid-editor-sdk/headless / setFlowchartSubgraph
Function: setFlowchartSubgraph()
setFlowchartSubgraph(
source,id,update):string
Defined in: source/flowchart-mutations.ts:886
Updates a flowchart subgraph.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | string | Mermaid source to inspect or update. |
id | string | Identifier of the diagram element. |
update | FlowchartSubgraphUpdate | Properties to apply to the element. |
Returns
string