@mermaid-editor-sdk/headless / deleteStateTransition
Function: deleteStateTransition()
deleteStateTransition(
source,transition):string
Defined in: source/state-mutations.ts:516
Deletes one state transition.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | string | Mermaid source to inspect or update. |
transition | Pick<StateTransition, "source" | "target" | "occurrence"> | Transition identified by source, target, and occurrence. |
Returns
string