Table of Contents

Enum LabelAnchor

Namespace
FlowGraph.Core.Models
Assembly
FlowGraph.Core.dll

Specifies where along an edge the label should be anchored.

public enum LabelAnchor

Fields

Center = 1

Position the label at the center/midpoint of the edge (50% along the path). This is the default and most common placement.

End = 2

Position 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 = 0

Position 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.

Remarks

The anchor point determines the base position of the label before any offsets are applied. Use OffsetX and OffsetY for fine-tuning.