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

Can I use the "layered" edge routing in conjunction with a different node layout algorithm? #197

Closed
timothypratley opened this issue Nov 1, 2022 · 2 comments

Comments

@timothypratley
Copy link

Hi! 👋

The "layered" algorithm will route edges based on org.eclipse.elk.edgeRouting as POLYLINE, ORTHOGONAL, SPLINES... which look nice. I'd like to apply the same edge routing to other layouts. How can I achieve this? It seems to me that the code to do the edge routing must be there so I could call it directly somehow without positioning the nodes?

@soerendomroes
Copy link
Member

Often the edge routing relies on the information where layers are. What you are searching for is standalone edge routing eclipse/elk#315 which is a little complicated.
It is not available elkjs but Typefox developed a bridge to libavoid https://github.com/TypeFox/elk-libavoid that could deliver this feature.

@timothypratley
Copy link
Author

Thank you @soerendomroes 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants