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

The elk layout produces an empty result #1555

Open
jackrwright opened this issue Oct 7, 2024 · 0 comments
Open

The elk layout produces an empty result #1555

jackrwright opened this issue Oct 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jackrwright
Copy link

jackrwright commented Oct 7, 2024

Describe the bug
Choosing the elk layout produces an empty result.

To Reproduce
Link to Live Editor: https://mermaid.live/edit#pako:eNpdkLFugzAQhl_FurHCCLChwUOWds2ULXUHCxywAnZkTBSKePe6dqNW8fTru8-nu1uhMa0EBhhjrhujz6pjXCOEBrGY2TEkhwvXoTo54eS7Ep0VI74VwUIfL58I4z06OjUMEYUYoC8-o4O5Kd1FGvPz93_0zYqpjzTER1NIYJR2FKr1k68_AgfXy1FyYD62wl44cL15T8zOHBfdAHN2lgnM1_ZvC2BnMUyeXoU-GTM-JNkqZ-whXiYcKCjAVrgDIxVNKa1LWlCS5aQmJIEFWE7S1x2taVWQqizrPNttCXyFrnmaxUe8UNMsyxOwZu763wG2b37AdIc

Steps to reproduce the behavior:

  1. Choose the "state" sample diagram.
  2. Observe the expected diagram on the right
  3. Add a config with the elk layout type
  4. The diagram disappears.

Expected behavior
A diagram laid out with the elk layout algorithm.

Screenshots
The expected sample state diagram:
Screenshot 2024-10-07 at 2 58 32 PM

No diagram generated if the elk layout option is chosen - no error listed:
Screenshot 2024-10-07 at 2 58 46 PM

Desktop (please complete the following information):

  • OS: macOS, version Sonoma 14.6.1
  • Browser: Safari, version 17.6

Additional context
This was working fine about a week ago, it produced this with the following config:

---
 config:
   layout: elk
   elk:
     mergeEdges: false
     nodePlacementStrategy: NETWORK_SIMPLEX
---

RFCheck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant