@yantrix/mermaid-parser v0.0.2 • Docs
Yantrix API / @yantrix/mermaid-parser / parseSequenceDiagram
Function: parseSequenceDiagram()
ts
function parseSequenceDiagram(diagramText): Promise<TSequenceMermaidGraphDict>
The main function that collects all the information from the Mermaid diagram and transforms it into a form appropriate for processing with other parts of the Yantrix toolkit.
Parameters
• diagramText: string
Text of the diagram written in accordance with Mermaid syntax.
Returns
Promise
<TSequenceMermaidGraphDict
>
Dictionary that contains information from the diagram for further processing.