Kind: Function
Source: atloria-monorepo/libs/parser-core/src/utils/state-machine-analyzer.ts
Generate Mermaid state diagram from state machine definition
Creates a Mermaid stateDiagram-v2 syntax representation of the workflow.
Signature
tsfunction generateMermaidDiagram(stateMachine: StateMachine): string
Parameters
| Name | Type |
|---|---|
stateMachine | StateMachine |
Returns: string
Was this page helpful?