portFromPos property

num portFromPos

Location of the port at the from node of the link. Allows the crossing matrix to correctly calculate the crossings for nodes with multiple ports. The default value is NaN.

This property is also used to align link ports when using LayeredDigraphLayout#alignOption.

Implementation

_i2.num get portFromPos => _i4.getProperty(
      this,
      'portFromPos',
    );
void portFromPos=(num value)

Implementation

set portFromPos(_i2.num value) {
  _i4.setProperty(
    this,
    'portFromPos',
    value,
  );
}