portSpot property

Spot get portSpot

Gets or sets the spot that this node's port gets as its FromSpot, if #setsPortSpot is true and the node has only a single port.

The default value is Spot.Default.

This inherited property is initialized in the TreeLayout#initializeTreeVertexValues pass. 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 TreeLayout#path is TreeLayout.PathSource, the port's ToSpot is set instead of the FromSpot.

Implementation

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

Implementation

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