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

Syntax

C#
[FlagsAttribute] public enum LabelPlacements
Visual Basic
<FlagsAttribute> _ Public Enumeration LabelPlacements

Members

Member nameValueDescription
AtSource1 Preferred placement specifier for edge labels. Expresses that the label should be placed near the source node of an edge.
AtTarget2 Preferred placement specifier for edge labels. Expresses that the label should be placed near the target node of an edge.
AtCenter4 Preferred placement specifier for edge labels. Expresses that the label should be placed near the center of the edge path.
AlongEdgeMask7 Placement specifier mask. Masks all placement specifiers that are not one of AtTarget , AtSource , or AtCenter .
OnEdge8 Preferred placement specifier for edge labels. Expresses that the label should be placed on the path of the edge.
LeftOfEdge16 Preferred placement specifier for edge labels. Expresses that the label should be placed on the left hand side of the edge path if looking from the source node into the direction of the target node.
RightOfEdge32 Preferred placement specifier for edge labels. Expresses that the label should be placed on the right hand side of the edge path if looking from the source node into the direction of the target node.
OnSideOfEdgeMask56 Placement specifier mask. Masks all placement specifiers that are not one of OnEdge , LeftOfEdge , or RightOfEdge .
Anywhere0 Preferred placement specifier for edge labels. Expresses that the label can be placed anywhere along the edge or on any side of the edge.

See Also