@yantrix/mermaid-parser v0.0.1 • Docs
Yantrix API / @yantrix/mermaid-parser / parseStateDiagram
Function: parseStateDiagram()
ts
function parseStateDiagram(diagramText): Promise<TStateDiagramStructure>
Parameters
• diagramText: string
diagram [string];
Returns
Promise
<TStateDiagramStructure
>
Returns dictionary with information from the diagram.
Brief
The main function that collects all the information and processes it;