BK Edge Straightening

Property Value
Type: advanced
Identifier: org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening
Meta Data Provider: options.LayeredMetaDataProvider
Value Type: org.eclipse.elk.alg.layered.options.EdgeStraighteningStrategy (Enum)
Possible Values: NONE
Default Value: EdgeStraighteningStrategy.IMPROVE_STRAIGHTNESS (as defined in org.eclipse.elk.layered)
Applies To: parents
Dependencies: org.eclipse.elk.layered.nodePlacement.strategy (NodePlacementStrategy.BRANDES_KOEPF)
Containing Group: nodePlacement -> bk


Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the ‘favorStraightEdges’ option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments.