Enum NodeConstraints
Used to the default behaviors of the node.
Namespace: Syncfusion.JavaScript.DataVisualization.DiagramEnums
Assembly: Syncfusion.EJ.dll
Syntax
[Flags]
public enum NodeConstraints
Fields
| Name | Description |
|---|---|
| AllowDrop | Enables the allow drop to the node |
| AllowPan | Enables panning should be done while node dragging |
| AspectRatio | Enables Proportional resize for node |
| Connect | Used to set the node as connectable |
| CrispEdges | Used to adjust element positions and widths to align edges with device pixels. |
| Default | Enables all node constraints |
| Delete | Used to set the node as deletable |
| Drag | Used to set the node as draggable |
| DragLabel | Used to set the label of node as draggable |
| InheritCrispEdges | Used to adjust element positions and widths to align edges with device pixels. |
| InheritTooltip | allows to inherit the tooltip from model |
| Interaction | Used to set the node as selectable, draggable, rotateable, connectable and resizable |
| MultiSelect | allows to multiselect the nodes |
| None | Used to disable all node Constraints |
| PointerEvents | Used to set the pointer events |
| PointerVisibility | Used to set the pointer visibility |
| Resize | Used to set the node as resizable |
| ResizeEast | Used to set the node which can be resized east |
| ResizeNorth | Used to set the node which can be resized north |
| ResizeNorthEast | Used to set the node which can be resized north east |
| ResizeNorthWest | Used to set the node which can be resized north west |
| ResizeSouth | Used to set the node which can be resized south |
| ResizeSouthEast | Used to set the node which can be resized south east |
| ResizeSouthWest | Used to set the node which can be resized south west |
| ResizeWest | Used to set the node which can be resized west |
| Rotate | Used to set the node as rotateable |
| Select | Used to set the node as selectable |
| Shadow | Enables shadow |