-
Notifications
You must be signed in to change notification settings - Fork 98
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
[Question] Mrtree center node with multiple parents #297
Comments
Maybe the |
@soerendomroes The |
Have you tried setting considerModelOrder.strategy to NODES_AND_EDGES? |
Thank you very much for your help @soerendomroes it worked :) |
@soerendomroes Hey there! What I'd want to achieve is placing the node which has 1+ parents under the certain parent, which edge is "more important" or "heavier". Is it possible?) |
You can add straigtness priority https://eclipse.dev/elk/reference/options/org-eclipse-elk-layered-priority-straightness.html |
@soerendomroes yeah, it works, thx! here's how I used this prop. Seems to be working |
Hey, i am using elkjs and i am trying to achieve a result where when a node in the tree has 2 parents (and 2 edges) it will be centered beneath them and not aligned to the left.
Here is a screenshot of the current behavior:
link to elklive
I need the bottom node to be aligned to the center - how can i achieve that?
I'll be glad to provide more information if needed
The text was updated successfully, but these errors were encountered: