Skip to content
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

elk renderer dont work in mermaid 11.0.2 version #5782

Closed
zszen opened this issue Aug 27, 2024 · 3 comments · Fixed by #5786
Closed

elk renderer dont work in mermaid 11.0.2 version #5782

zszen opened this issue Aug 27, 2024 · 3 comments · Fixed by #5786
Assignees
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@zszen
Copy link

zszen commented Aug 27, 2024

Description

%%{init: {'theme': 'neutral' ,'flowchart': {'defaultRenderer': 'elk' }}}%%

elk renderer dont work in mermaid 11.0.2 version. But ok when back to 10.x

Steps to reproduce

using elk renderer in 11.0.2

Screenshots

No response

Code Sample

No response

Setup

  • Mermaid version: 11.0.2
  • Browser and Version: [Firefox]

Suggested Solutions

No response

Additional Context

No response

@zszen zszen added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Aug 27, 2024
@knsv knsv self-assigned this Aug 28, 2024
@knsv
Copy link
Collaborator

knsv commented Aug 28, 2024

@zszen Thanks for reporting.

We have updated the syntax for selecting layout algorithms are select from the code. The new syntax would be like this:

---
  config:
    layout: elk
---

The old way should still work though, we will add a fix for this in the next mermaid release.

@zszen
Copy link
Author

zszen commented Sep 4, 2024

@zszen Thanks for reporting.

We have updated the syntax for selecting layout algorithms are select from the code. The new syntax would be like this:

---
  config:
    layout: elk
---

The old way should still work though, we will add a fix for this in the next mermaid release.

in v11 version mermaid not contain elk layout, and I can't easy find out the js...

@nbrugger-tgm
Copy link

ELK layout is still broken in 11.* versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants