childPortSpot property

Spot get childPortSpot

Gets or sets the spot that children nodes' ports get as their ToSpot, if #setsChildPortSpot 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 ToSpot 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 FromSpot is set instead of the ToSpot.

Implementation

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

Implementation

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