Open hqv1 opened 1 year ago
I am seeing this issue as well. This is a critical issue since I am using Mermaid for automatically generated graphs that are large and complex, for which the elk
renderer is essential as the default renderer can't handle the graphs well. I see the exception for any output format.
Also, the Mermaid Live Editor can't handle these type of graphs either.
In fact, the only way I have been able to even render these diagrams is with GitHub's Mermaid rendering in Markdown documents.
Issue is still present, but a different error
After checking again, this issue doesn't seem to be present anymore. But there seems to be an issue with empty subgraphs. https://github.com/mermaid-js/mermaid/issues/5402
Describe the bug I'm attempting to create an SVG from a Markdown file containing a mermaid diagram. I'm using ELK as the default renderer. The CLI crashes at the Mermaid subgraph. It is able to create an SVG file if I remove the subgraph.
To Reproduce Steps to reproduce the behavior:
Or without the mermaid code block
Run the CLI
mmdc -i input_diagram.md -o output.svg
This is the error I get
Expected behavior I expect an SVG to be generated.
Desktop (please complete the following information):