Namespace: yWorks.yFiles.Layout
Assembly: yWorks.yFilesWPF.Algorithms (in yWorks.yFilesWPF.Algorithms.dll) Version: 2.2.0.2 (2.2.0.2)
Assembly: yWorks.yFilesWPF.Algorithms (in yWorks.yFilesWPF.Algorithms.dll) Version: 2.2.0.2 (2.2.0.2)
Syntax
| C# |
|---|
[FlagsAttribute] public enum LabelPlacements |
| Visual Basic |
|---|
<FlagsAttribute> _ Public Enumeration LabelPlacements |
Members
| Member name | Description | ||
|---|---|---|---|
| Anywhere | 0 | Preferred placement specifier for edge labels. Expresses that the label can be placed anywhere along an edge. | |
| AtSource | 1 | Preferred placement specifier for edge labels. Expresses that the label should be placed near the source node of an edge. | |
| AtTarget | 2 | Preferred placement specifier for edge labels. Expresses that the label should be placed near the target node of an edge. | |
| AtCenter | 4 | Preferred placement specifier for edge labels. Expresses that the label should be placed near the center of the edge path. | |
| AlongEdgeMask | 7 | Placement specifier mask. Masks all placement specifiers that are not one of AtTarget , AtSource , or AtCenter . | |
| OnEdge | 8 | Preferred placement specifier for edge labels. Expresses that the label should be placed on the path of the edge. | |
| LeftOfEdge | 16 | 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. | |
| RightOfEdge | 32 | 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. | |
| OnSideOfEdgeMask | 56 | Placement specifier mask. Masks all placement specifiers that are not one of OnEdge , LeftOfEdge , or RightOfEdge . |