enable elk renderer for embedded mermaid charts #138426
Replies: 19 comments 3 replies
-
|
I'm surprised this isn't supported. ELK is often much more readable, not just in complex nested diagrams and edge-cases. |
Beta Was this translation helpful? Give feedback.
-
|
Any chance this is going to be added? It's confusing that ELK is supported from the Visual Studio Mermaid plugin, but once you push the changes the diagram looks completely different in Github |
Beta Was this translation helpful? Give feedback.
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
oh man, an auto-response from github bot just came a week ago, while the feature request was made in checks notes Sep 12, 2024??? sadge :( |
Beta Was this translation helpful? Give feedback.
-
|
Any update? |
Beta Was this translation helpful? Give feedback.
-
|
Also interested in using this layout for our project; have a very large flowchart that looks way better with elk rendering |
Beta Was this translation helpful? Give feedback.
-
|
Hey there, Looks like it's been a year without responses from any of the staff. You could try opening a feature request by tagging then on Twitter, risky but works, since I see no real workaround. Hope they notice you. Good luck! |
Beta Was this translation helpful? Give feedback.
-
|
Guys, I posted on X https://x.com/AppOutletTeam/status/1942254916099031190 Could you please help me to make some noise there? |
Beta Was this translation helpful? Give feedback.
-
|
waiting on this |
Beta Was this translation helpful? Give feedback.
-
|
+1 |
Beta Was this translation helpful? Give feedback.
-
|
Same here, it would be awesome to have this for our charts ! |
Beta Was this translation helpful? Give feedback.
-
|
This seems like an easy win: I'm not sure if there's a reason not to add it. And on a minor side-track, if we could give the expand view a little TLC as well, that would be great; we use this to render our database schemas as |
Beta Was this translation helpful? Give feedback.
-
|
bumping this, would be appreciated |
Beta Was this translation helpful? Give feedback.
-
|
+1 |
Beta Was this translation helpful? Give feedback.
-
|
+1 push |
Beta Was this translation helpful? Give feedback.
-
|
This is my temporary workaround since I am really annoyed by status quo. You can feed this into your AI tool to get a working solution: |
Beta Was this translation helpful? Give feedback.
-
|
It would be great for GitHub to enable the ELK renderer in markdown embedded Mermaid. There are no situations I can imagine where ELK would not be superior to the default renderer (see below for how terrible the default can be.) To help get visibility for this request, here are public profiles for the Microsoft executives who influence developer-tools decisions including GitHub. Please share your use case engaging with one or all of them: Scott Guthrie (EVP, Cloud + AI) Julia Liuson (President, Developer Division) Jay Parikh (EVP, CoreAI; GitHub reports under this group) If GitHub were to enable ELK by default or allow it as a selectable Mermaid config, users could produce cleaner, more maintainable diagrams directly in Markdown. Anyone else who wants this, please reach out to those three executives; showing them the concrete benefits is key to moving this forward. |
Beta Was this translation helpful? Give feedback.
-
|
Yes, please support a good ELK rendering of mermaid diagrams. |
Beta Was this translation helpful? Give feedback.
-
|
I would also like to see ELK rendering for mermaid diagrams. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
Any chance we can get support for the elk layout engine for mermaid charts?
https://github.com/mermaid-js/mermaid/tree/develop/packages/mermaid-layout-elk
With a complex chart, it looks pretty confusing with the default renderer
flowchart subgraph api-demographics["api-demographics"] D[("Database")] ABC["some-service<br><small><em>ABC on DEF</em></small>"] R[["Dying Service<br><small><em>Deprecated Soon</em></small>"]] W["Another Service"] end subgraph something F["something"] L[("Destination")] end P[["Source"]] E["something-else<br><small><em>Deprecated Eventually</em></small>"] F["even-more-things<br><small><em>Dependency Eliminated Eventually</em></small>"] G["whatever"] H["another thing"] J{{"Secrets"}} K[("Potato")] ABC -.-> R -.-> D ABC -.-> F & E ABC == Build time dependency ==> J ABC --> D & L & Fa & G & H P --> W W --> D & L & Fa & J & K style R stroke:#666,fill:#EEE style F stroke:#660,fill:#FFC style E stroke:#660,fill:#FFC style W stroke:blue,fill:#CCF style ABC stroke: green, fill: #CFC linkStyle default stroke:green linkStyle 10,11,12,13,14,15 stroke:blue,color:blueYou can see it's rendered the same on GH at the time of writing this, even if I try to switch the renderer via the using
flowchart-elkchart type, because github has not installed@mermaid-js/layout-elkflowchart-elk subgraph api-demographics["api-demographics"] D[("Database")] ABC["some-service<br><small><em>ABC on DEF</em></small>"] R[["Dying Service<br><small><em>Deprecated Soon</em></small>"]] W["Another Service"] end subgraph something F["something"] L[("Destination")] end P[["Source"]] E["something-else<br><small><em>Deprecated Eventually</em></small>"] F["even-more-things<br><small><em>Dependency Eliminated Eventually</em></small>"] G["whatever"] H["another thing"] J{{"Secrets"}} K[("Potato")] ABC -.-> R -.-> D ABC -.-> F & E ABC == Build time dependency ==> J ABC --> D & L & Fa & G & H P --> W W --> D & L & Fa & J & K style R stroke:#666,fill:#EEE style F stroke:#660,fill:#FFC style E stroke:#660,fill:#FFC style W stroke:blue,fill:#CCF style ABC stroke: green, fill: #CFC linkStyle default stroke:green linkStyle 10,11,12,13,14,15 stroke:blue,color:blueHere's what it looks like when I render it using elk on www.mermaidchart.com
Beta Was this translation helpful? Give feedback.
All reactions