Enum PortVisibility
Defines when a Port is actually drawn.
Namespace: Syncfusion.Maui.Diagram
Assembly: Syncfusion.Maui.Diagram.dll
Syntax
public enum PortVisibility
Remarks
Maps directly to the EJ2 Diagram PortVisibility bitmask. EJ2's own default for a port it never
hears otherwise about is Connect — meaning invisible unless a connector drag happens to be
in progress near it — which reads as "ports don't render at all" for anyone who just adds a Port
and expects to see it; Visibility defaults to Visible instead so a port
shows up immediately, matching what adding one to Ports visibly implies.
Fields
| Name | Description |
|---|---|
| Connect | Only drawn while a connector's endpoint is being dragged near it. EJ2's own library default. |
| Hidden | Never drawn (but still connectable by id/position). |
| Hover | Only drawn while the pointer is hovering over the owning node. |
| Visible | Always drawn. |