|
|
|
|
|
by sidharthv
1210 days ago
|
|
Mermaid as a whole doesn't have a formally specified grammar.
Individual diagrams have their grammar in a .jison file. Flowchart: https://github.com/mermaid-js/mermaid/blob/develop/packages/... A single grammar to support all the different use cases would be challenging. But we did have some plans to introduce guidelines to make different diagram syntaxes more consistent. |
|
Before I go off and write my own parser using this grammar, would it be practical to do this in mermaid's parser already?