The members of this enumeration specify when a link should be aligned to a node's anchor point. They can be used as parameters of the setSnapToAnchor method of the Diagram class.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
Java
![]() |
---|
public enum SnapToAnchor |
Member name | Description | |
---|---|---|
![]() |
OnCreate |
Align to anchor points only when the link is created. Let the user move the link end to any point of the node later. |
![]() |
OnCreateOrModify |
Align to anchor points both when creating or modifying. |