Gets or sets the default value for the Dynamic property of new links.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public bool DynamicLinks { get; set; } |
Visual Basic Copy Code |
---|
Public Property DynamicLinks As Boolean |
true if dynamic links are enabled; otherwise, false. The default is false.
Use the property to specify whether links automatically reposition their end segments, so they keep pointing to the centers of connected nodes. If enabled, moving a connected node recalculates the position of link's end point, placing it at appropriate location of the node outline. If the node has anchor points assigned to it, the end point is attached to one of them.
If the value is false, links do not look for the center of the origin and destination node, but keep their relative position as set when they were created - from the left corner of the first node to the top of the other node for instance.