Angle Penalty

Property Value
Identifier: org.eclipse.elk.alg.libavoid.anglePenalty
Meta Data Provider: options.LibavoidMetaDataProvider
Value Type: double
Default Value: 0 (as defined in org.eclipse.elk.alg.libavoid)
Applies To: parents


This penalty is applied in its full amount to tight acute bends in the connector path. A smaller portion of the penalty is applied for slight bends, i.e., where the bend is close to 180 degrees. This is useful for polyline routing where there is some evidence that tighter corners are worse for readability, but that slight bends might not be so bad, especially when smoothed by curves.