Enum NodeConstraints
Specifies the node constraints allow the users to enable or disable certain behaviors and features of the diagram nodes.
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
[Flags]
public enum NodeConstraints
Examples
Node node = new Node()
{
Constraints = NodeConstraints.Default | NodeConstraints.Shadow,
};
Fields
| Name | Description |
|---|---|
| AllowDrop | AllowDrop allows dropping a node. |
| AspectRatio | Enables the Aspect ratio of the node. |
| Default | Enables all the constraints for a node |
| Delete | Enables or disables node deletion. |
| Drag | Enables or disables the dragging functionality of a node. |
| HideThumbs | Enables to hide all resize thumbs for the node. |
| InConnect | Enables node to allow only in coming connections. |
| Inherit | It allows the node to inherit the interaction option from the parent object. |
| InheritTooltip | Enables or disables to inherit the value of Tooltip from SfDiagramComponent. |
| None | Disable all node Constraints. |
| OutConnect | Enables node to allow only out coming connections. |
| PointerEvents | Enables or disables the mouse pointers events when clicking with a mouse. |
| ReadOnly | Enables the ReadOnly mode(Write operations cannot be done) for the annotation in the node. |
| Resize | Enables or Disables the expansion or compression of a node. |
| ResizeEast | It enables or disables the resizing of the node in the East direction. |
| ResizeNorth | It enables or disables the resizing of the node in the North direction. |
| ResizeNorthEast | It enables or disables the resizing of the node in the NorthEast direction. |
| ResizeNorthWest | It enables or disables the resizing of the node in the NorthWest direction. |
| ResizeSouth | It enables or disables the resizing of the node in the South direction. |
| ResizeSouthEast | It enables or disables the resizing of the node in the SouthEast direction. |
| ResizeSouthWest | It enables or disables the resizing of the node in the SouthWest direction. |
| ResizeWest | It enables or disables the resizing of the node in the West direction. |
| Rotate | Enables or disables node rotation. It is done with the help of a curvy arrow. |
| RoutingObstacle | Specifies whether a node should be treated as an obstacle during routing. |
| Select | Enables or disables the selection of a node in the diagram. |
| Shadow | Enables or disables to display the nodes shadow. |
| Tooltip | Enables or disables tooltip for the Nodes. |