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

 Syntax

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.

 Remarks

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