what MrTree layout algorithm ID [message #1750380] |
Tue, 20 December 2016 09:29  |
Eclipse User |
|
|
|
I am able to use Layered algo , but I am not able to find the MrTree Algorithm ID.
configurator.configure(KNode.class)
.setProperty(CoreOptions.ALGORITHM, "org.eclipse.elk.layered"/*LayeredOptions.ALGORITHM_ID*/)
.setProperty(LayeredOptions.CROSSING_MINIMIZATION_STRATEGY, CrossingMinimizationStrategy.LAYER_SWEEP)
.setProperty(CoreOptions.INTERACTIVE, true)
.setProperty(LayeredOptions.SPACING_NODE, 20.0f)
.setProperty(LayeredOptions.EDGE_ROUTING, EdgeRouting.ORTHOGONAL)
.setProperty(CoreOptions.SPACING_BORDER, 2f)
.setProperty(LayeredOptions.DIRECTION, Direction.DOWN);
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03557 seconds