mermaid.flowchart
parse(statements, header) -> graph, err
statements
header
graph
err
Parse a flowchart's statements into a graph
statements and header are what mermaid.source.statements returns. The graph is mermaid.flowchart.parser.parse's, and layout takes it.
mermaid.source.statements
mermaid.flowchart.parser.parse
layout