Enum PortConstraints
Enables or disables certain features of the port.
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
[Flags]
public enum PortConstraints
Examples
Node node = new Node()
{
Ports = new DiagramObjectCollection<PointPort>()
{
new PointPort()
{
Constraints = PortConstraints.Draw
}
}
};
Fields
| Name | Description |
|---|---|
| Default | Enables all constraints of a port. |
| Draw | Enables or disables creating the connection when the mouse hovers on the port. |
| InConnect | Enables or disables connecting only the target end of the connector. |
| None | Disables all the port functionalities. |
| OutConnect | Enables or disables connecting only the source end of the connector. |