The members of this enumeration specify when a link should be aligned to a node's anchor point. These constants can be used as parameters of the setSnapToAnchor method of the Diagram class.
The following tables list the members exposed by the SnapToAnchor type.
Name | Description | |
---|---|---|
![]() |
Initializes a new SnapToAnchor instance. |
Name | Description | |
---|---|---|
![]() ![]() |
Align to anchor points only when the link is created. Let the user move the link end to any point of the node later. |
|
![]() ![]() |
Align to anchor points both when creating or modifying. |