Enum LabelAnchor
Specifies where along an edge the label should be anchored.
public enum LabelAnchor
Fields
Center = 1Position the label at the center/midpoint of the edge (50% along the path). This is the default and most common placement.
End = 2Position the label near the end of the edge (approximately 75% along the path). Useful for labels that describe the destination or target of the connection.
Start = 0Position the label near the start of the edge (approximately 25% along the path). Useful for labels that describe the source or origin of the connection.