-
-
Notifications
You must be signed in to change notification settings - Fork 560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The live editor cannot display elk
rendered graphs containing subgraphs
#1305
Comments
same for me |
This is reportedly fixed in Mermaid-Chart/issue-tracker#17 |
The Mermaid Live Editor still shows the same error, so it's possible the fix doesn't work or it hasn't been deployed yet. This can be verified by clicking the link in the description. |
Elk rendering for flowcharts with subgraphs is working in Mermaid Chart (official integration for Mermaid). If you do not have an account, you can sign up for a free one. |
It's working in the #1328 PR preview for this repo if you want to use that |
I am confused, is mermaid-live-editor no longer being maintained? |
The Mermaid team is actively maintaining Mermaid Live and Mermaid JS. Mermaid Chart is built on top of Mermaid and is the official integration of the open-source project. The Mermaid Chart Editor includes the same functionality as Mermaid Live with additional features (i.e. AI Chatbot, Code Snippets, etc). |
Yes, it's being maintained. I was on vacation recently, so we have few PRs pending. Catching up with everything. |
Working now. |
@sidharthv96 Ah okay, I was confused by whether the referral to the paid product was the intended solution. |
Describe the bug
When the renderer is set to
elk
, both the Mermaid Live Editor and the Mermaid CLI cannot display and process the graph if subgraphs are present.To Reproduce
Link to Live Editor: Link for the below code
This:
yields no rendered content and an error (displayed very low on the screen after scrolling):
Whereas the following renders just fine:
Expected behavior
The diagram should render as expected.
Screenshots
See the above Mermaid.live links.
Desktop (please complete the following information):
Additional context
Also, see mermaid-js/mermaid-cli#594 where the Mermaid CLI cannot process these graphs either. This is a major issue for me right now, as the
elk
renderer is needed for large, automatically generated graphs. For now, I have to remove any use of subgraphs to use theelk
renderer.The text was updated successfully, but these errors were encountered: