Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Eclipse Layout Kernel » Crossing minimaization whilst preventing excess node re location ?
Crossing minimaization whilst preventing excess node re location ? [message #1832297] Tue, 15 September 2020 16:05
Jonathan Menzies is currently offline Jonathan MenziesFriend
Messages: 6
Registered: May 2020
Junior Member
Hi there,

We are using ELK with Sirius to layout our diagrams.

With the settings below we minimize crossing:

setProperty(LayeredOptions.CROSSING_MINIMIZATION_STRATEGY, CrossingMinimizationStrategy.INTERACTIVE);
topNode.setProperty(LayeredOptions.CROSSING_MINIMIZATION_SEMI_INTERACTIVE, true);

However in certain case this results in crossing because it won't reposition the node. If we use the setting Layer_SWEEP, it results in nodes being re positioned where not necessary.

Is it possible to achieve a middle ground here where it will re position to avoid crossing but keep their position if no crossing would occur ?

Many Thanks
Previous Topic:ELK Layered with JavaFx
Next Topic:Bend Points partially missing in LayeredLayout
Goto Forum:

Current Time: Sun Apr 18 18:46:03 GMT 2021

Powered by FUDForum. Page generated in 0.02041 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top