angle property

num get angle

Gets or sets the absolute angle at which this subtree should grow from this vertex.

The default value is zero, meaning that general tree growth should proceed rightwards along the X axis.

This inherited property is initialized in the TreeLayout#initializeTreeVertexValues pass. By default this is the same as the Angle of the parent TreeVertex. However, after the initial propagation of property values, perhaps in an override of TreeLayout#assignTreeVertexValues, you could just set this property to specify the angle at which this node grows its subtrees.

Implementation

_i2.num get angle => _i4.getProperty(
      this,
      'angle',
    );
set angle (num value)

Implementation

set angle(_i2.num value) {
  _i4.setProperty(
    this,
    'angle',
    value,
  );
}