kieler / elkjs

ELK's layout algorithms for JavaScript
Other
1.81k stars 97 forks source link

Layout option to force global `container: root` coordinates for all children and edges #275

Open snelsi opened 7 months ago

snelsi commented 7 months ago

New to Elk , I will be glad for any help.

I have a nested layout with cross-parent edges. After enabling "hierarchyHandling": "INCLUDE_CHILDREN" layout option, I noticed that some of the edges are using startPoint / endPoint sections relative to the container coordinates they are located.

Is there a layout option I can enable to force all children and edges to use global container: root coordinates instead?

soerendomroes commented 7 months ago

I think this is currently not possible, but we may consider this when dealing with this issue.