toSpot property

Spot get toSpot

Gets or sets where this link should connect at the #toPort. The default value is Spot.Default, meaning that the value actually comes from the GraphObject#toSpot property of the #toPort.

This property is set by some layouts, if ForceDirectedLayout#setsPortSpots or LayeredDigraphLayout#setsPortSpots or TreeLayout#setsPortSpot or TreeLayout#setsChildPortSpot is true.

For examples of how to use this property, see Link Connection Points.

Implementation

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

Implementation

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