Skip to content

Port

Interface representing a port in the node.

id: string

The unique identifier for the port.


nodeId: string

The id of the node that the port belongs to.


optional position: Point

The position of the port in the node.


side: PortSide

The side of the node that the port is on.


optional size: Size

The size of the port.


type: "source" | "target" | "both"

The type of the port.