setsPortSpots property

bool get setsPortSpots

Gets or sets whether the FromSpot and ToSpot of each link should be set to values appropriate for the given value of LayeredDigraphLayout#direction. The default value is true.

If you set this to false, the spot values of the links and port objects will be used. If you do not set the spot values to sensible values matching the #direction, the routing results may be poor and they may cross over nodes.

Implementation

_i2.bool get setsPortSpots => _i4.getProperty(
      this,
      'setsPortSpots',
    );
set setsPortSpots (bool value)

Implementation

set setsPortSpots(_i2.bool value) {
  _i4.setProperty(
    this,
    'setsPortSpots',
    value,
  );
}