@mermaid-editor-sdk/headless / flowchartSubgraphAt
Function: flowchartSubgraphAt()
flowchartSubgraphAt(
source,offset):FlowchartSubgraph|undefined
Defined in: source/flowchart-mutations.ts:967
Finds the subgraph containing a source offset.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | string | Mermaid source to inspect or update. |
offset | number | Source offset to locate. |
Returns
FlowchartSubgraph | undefined