Gets or sets the default value for the AutoSnapToNode property of new links.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public bool AutoSnapLinks { get; set; } |
Visual Basic Copy Code |
---|
Public Property AutoSnapLinks As Boolean |
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.
WpfDiagram Programmer's Guide | © 2024 MindFusion |