Reverse Direction Penalty

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

Description

This penalty is applied whenever a connector path travels in the direction opposite of the destination from the source endpoint. By default this penalty is set to zero. This shouldn’t be needed in most cases but can be useful if you use penalties such as crossingPenalty which cause connectors to loop around obstacles.