Defines values that specify how automatic layout algorithms align links to anchor points.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public enum Anchoring |
Visual Basic Copy Code |
---|
Public Enum Anchoring |
Member name | Description | |
---|---|---|
Ignore |
Anchor points are ignored. |
|
Keep |
Links are aligned to their original anchor points. |
|
Reassign |
Links are aligned to new anchor points, depending on the positions of graph nodes after a layout is applied. |
Assign values of this enumeration to the Anchoring property of layout algorithms. Most algorithms produce best results if they can place link ends at arbitrary positions over nodes' outlines, that is, when using the Ignore value. If your application logic requires links to be always attached to anchor points, use the other two values. In such cases Reassign would yield better results.