Greedy Switch Crossing Minimization

Property Value
Type: advanced
Identifier: org.eclipse.elk.layered.crossingMinimization.greedySwitch.type
Meta Data Provider: options.LayeredMetaDataProvider
Value Type: org.eclipse.elk.alg.layered.options.GreedySwitchType (Enum)
Possible Values: ONE_SIDED
TWO_SIDED
OFF
Default Value: GreedySwitchType.TWO_SIDED (as defined in org.eclipse.elk.layered)
Applies To: parents
Dependencies: org.eclipse.elk.layered.crossingMinimization.strategy (CrossingMinimizationStrategy.LAYER_SWEEP)
Containing Group: crossingMinimization -> greedySwitch

Description

Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if ‘hierarchyHandling’ is set to ‘INCLUDE_CHILDREN’, the ‘greedySwitchHierarchical.type’ option must be used.