As far as I can tell from the documentation, semicolons are supposed to be entirely optional. That's a bit too JS-like for me, so I like to use them to separate statements anyway.
If I nest subgraphs and have an end; statement within the subgraph, the graph does not render. There are no (relevant) parse/syntax errors on the console. I've used flowchart here, but graph exhibits the same behaviour.
Describe the bug
As far as I can tell from the documentation, semicolons are supposed to be entirely optional. That's a bit too JS-like for me, so I like to use them to separate statements anyway.
If I nest subgraphs and have an
end;
statement within the subgraph, the graph does not render. There are no (relevant) parse/syntax errors on the console. I've usedflowchart
here, butgraph
exhibits the same behaviour.To Reproduce Minimal test case:
Expected behavior image renders properly without errors
Screenshots Expected output:
Code Sample See above.
Desktop (please complete the following information):
Additional context Reproduced with Mermaid versions 8.9.2 & 8.10.2