documentationfor yFiles for HTML 2.6

EdgeLabelOrientationSupport

EdgeLabelOrientationSupport provides orientation and mirroring support for layout algorithms with integrated edge labeling.

Inheritance Hierarchy
EdgeLabelOrientationSupport

Remarks

To calculate the position and orientation of edge labels whose placements are defined with the PreferredPlacementDescriptor, the OrientationLayout would need the direction of the associated edge. Since this direction is not available to the OrientationLayout, because it is a wrapper, the calculation must be done in the core layout algorithm itself with the help of the EdgeLabelOrientationSupport.

Important: Since layout algorithms with integrated edge labeling cannot deal with ambiguous preferred placement descriptors (combinations of the same setting, e.g., source or target for the placeAlongEdge), preProcessLabel removes combinations and replaces the original descriptor with a non-ambiguous one that is used during the layout calculation.

Type Details

yfiles module
layout-core
yfiles-umd modules
All layout modules, view-layout-bridge
Legacy UMD name
yfiles.layout.EdgeLabelOrientationSupport

Constructors

Methods

Static Methods