targetPort property
GraphObject?
get
targetPort
Gets or sets a proposed GraphObject port for connecting a link. Whether this is a "to" port or a "from" port depends on the direction (#isForwards) in which the link is being drawn or reconnected.
This is set when the mouse is being dragged and when a mouse-up event occurs with the result of a call to #findTargetPort. Setting this property does not raise any events.
Implementation
_i3.GraphObject? get targetPort => _i4.getProperty(
this,
'targetPort',
);
set
targetPort
(GraphObject? value)
Implementation
set targetPort(_i3.GraphObject? value) {
_i4.setProperty(
this,
'targetPort',
value ?? _i5.undefined,
);
}