Helper for layouter with integrated edge labeling to support orientation and mirroring.

Namespace: yWorks.yFiles.Layout
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.4.0.0

Syntax

C#
public class EdgeLabelOrientationSupport
Visual Basic
Public Class EdgeLabelOrientationSupport

Remarks

Helper for layouter with integrated edge labeling to support orientation and mirroring.

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

Important: Since all layouters with integrated edge labeling could not deal with ambiguous preferred placement descriptors (combinations of the same setting e.g. source or target for the PlaceAlongEdge ), PreProcessLabel(Graph, LabelLayoutData, Direction) removes combinations and replaces the original descriptor with a "non-ambiguous" one during the layout calculation.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.Layout..::..EdgeLabelOrientationSupport

See Also