eclipse / elk

Eclipse Layout Kernel - Automatic layout for Java applications.
https://www.eclipse.org/elk/
Other
258 stars 86 forks source link

Layered algorithm: is it possible to use fixed positions and generate positions for nodes without position? #1037

Closed VadimChiritsa closed 2 months ago

VadimChiritsa commented 6 months ago

Question: We have nodes which can have different incoming/outcoming references with other nodes. Layered algorithm works very good. The problem, that we want to no change layout (x and y position) for previous nodes after expanding new nodes, for example:

Guys, maybe you faced without such problem or maybe you have some ideas how to achieve it?

Expected behavior:

Current behavior:

soerendomroes commented 6 months ago

Have you tried setting all layered strategies to interactive? https://eclipse.dev/elk/reference/options/org-eclipse-elk-layered-cycleBreaking-strategy.html https://eclipse.dev/elk/reference/options/org-eclipse-elk-layered-layering-strategy.html https://eclipse.dev/elk/reference/options/org-eclipse-elk-layered-crossingMinimization-strategy.html https://eclipse.dev/elk/reference/options/org-eclipse-elk-layered-nodePlacement-strategy.html