NetDiagram Programmer's Guide
Diagram.AutoSnapLinks Property
See Also

Gets or sets the default value for the AutoSnapToNode property of new links.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming


C#  Copy Code

public bool AutoSnapLinks { get; set; }

Visual Basic  Copy Code

Public Property AutoSnapLinks As Boolean

 Property Value

true to snap links to nearest node, otherwise false; the default value is false.


Only nodes at a distance smaller than AutoSnapDistance are considered. A link does not snap to its current origin or destination nodes if that would create a self-loop.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace
DynamicLinks Property
AutoAlignNodes Property