normalizeSequenceDiagram()
Updated 5 min ago
normalizeSequenceDiagram(code): string
Defined in: packages/mermaid-node/src/mermaid-node.ts:144
Auto-normalizes sequence diagrams with multi-word actor names (which beautiful-mermaid would otherwise skip because its parser regex expects non-whitespace actor IDs).
Parameters
code
string
Returns
string