Enum SnapConstraints
Used to enable/disable snapping properties.
Namespace: Syncfusion.JavaScript.DataVisualization.DiagramEnums
Assembly: Syncfusion.EJ.dll
Syntax
[Flags]
public enum SnapConstraints
Fields
Name | Description |
---|---|
All | Enable all the constraints |
None | Enables node to be snapped to horizontal gridlines |
ShowHorizontalLines | Enable horizontal lines |
ShowLines | Enable both horizontal and vertical lines |
ShowVerticalLines | Enable vertical lines |
SnapToHorizontalLines | Enables node to be snapped to vertical gridlines |
SnapToLines | Enables node to be snapped to gridlines |
SnapToVerticalLines | Enables node to be snapped to horizontal gridlines |