portToPos property

num get portToPos

Location of the port at the to 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 portToPos => _i4.getProperty(
      this,
      'portToPos',
    );
set portToPos (num value)

Implementation

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