portSpot property

Spot get portSpot

Gets or sets the spot that this node's port gets as its FromSpot.

The default value is Spot.Default.

A value of Spot.Default will cause the TreeLayout to assign a FromSpot based on the parent node's TreeVertex#angle. If the value is other than NoSpot, it is just assigned. When #path is TreeLayout.PathSource|PathSource, the port's ToSpot is set instead of the FromSpot.

This sets the #rootDefaults' property of the same name.

Implementation

_i3.Spot get portSpot => _i4.getProperty(
      this,
      'portSpot',
    );
set portSpot (Spot value)

Implementation

set portSpot(_i3.Spot value) {
  _i4.setProperty(
    this,
    'portSpot',
    value,
  );
}