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