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

How to put the node on top or bottom of the graph? #627

Closed
wuleibobo opened this issue May 29, 2020 · 2 comments
Closed

How to put the node on top or bottom of the graph? #627

wuleibobo opened this issue May 29, 2020 · 2 comments
Labels
alg-layered Affects the ELK Layered algorithm. question Request for support in using ELK.

Comments

@wuleibobo
Copy link

I want some of the node put on top/bottom/left/right of the graph.
I found the layerConstraint option can work for left/right position, and it works.
but I don't know how to put node on top and bottom of the graph.
I found InLayerConstraint option sames like work for this, but it is an InternalProperties, and I can't set it in the input data.
So how to put the node on top or bottom of the graph?

@uruuru
Copy link
Contributor

uruuru commented May 29, 2020

If you know which nodes end up in the same layer, you could try semi-interactive crossing minimization, see this example.

Apart from that I believe there's no public-facing configuration option to mark certain nodes to "always end up at the top/bottom of their layer".

@uruuru uruuru added alg-layered Affects the ELK Layered algorithm. question Request for support in using ELK. labels May 29, 2020
@le-cds
Copy link
Contributor

le-cds commented Jun 8, 2020

If you have any follow-up questions, feel free to reopen this issue. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alg-layered Affects the ELK Layered algorithm. question Request for support in using ELK.
Projects
None yet
Development

No branches or pull requests

3 participants