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