fromPort property

GraphObject? get fromPort

This read-only property returns a GraphObject that is the "from" port that this link is connected from. The #fromNode provides the node that the link is coming from. The #fromPortId provides the identifier for which port this link is coming from; you can set that property in order to change the value of this property. This method may return null.

Implementation

_i3.GraphObject? get fromPort => _i4.getProperty(
      this,
      'fromPort',
    );
set fromPort (GraphObject? value)

Implementation

set fromPort(_i3.GraphObject? value) {
  _i4.setProperty(
    this,
    'fromPort',
    value ?? _i5.undefined,
  );
}