Search
Automatic Alignment

The following features help the user align items interactively.

Alignment Grid

Items are aligned to a grid when AlignToGrid is enabled. More information is available in the Alignment Grid topic.

Align Nodes to Nodes

If AutoAlignNodes is enabled, the node currently being drawn or resized is aligned to another node so that a pair of their vertical or horizontal sides become collinear. To specify the maximal distance at which nodes are aligned, set the AutoAlignDistance property. The pair of aligned nodes is indicated visually by drawing an alignment guide using the pen assigned to AlignmentGuidePen.

Snap Links to Nearby Nodes

The currently drawn or modified link can automatically snap to the nearest border point of the nearest node when AutoSnapLinks is set. The maximal distance at which links will connect to a nearby node is set via AutoSnapDistance.