Port
Interface representing a port in the node.
Properties
Section titled “Properties”id:
string
The unique identifier for the port.
nodeId
Section titled “nodeId”nodeId:
string
The id of the node that the port belongs to.
position?
Section titled “position?”
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.