eclipse / elk

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

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

Open VadimChiritsa opened 1 month ago

VadimChiritsa commented 1 month 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 1 month 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