component property

num get component

Gets or sets the connected component to which the node is assigned. The default value is NaN.

This property is not used during straightening and packing of nodes when using LayeredDigraphLayout#alignOption.

Implementation

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

Implementation

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