Add elk layout for mermaid (@mermaid-js/layout-elk)#1723
Add elk layout for mermaid (@mermaid-js/layout-elk)#1723ArviFoxy wants to merge 1 commit intodocmost:mainfrom
Conversation
WalkthroughThe changes add support for the ELK layout engine to Mermaid by introducing a new package dependency and registering ELK layout loaders in the mermaid-view component, enabling enhanced diagram rendering capabilities for complex diagrams. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
With this patch the example from https://www.drawio.com/blog/mermaid-elk-layout looks as expected: The mermaid code: |


Closes #1722
Summary by CodeRabbit