nodeSpacing property

num nodeSpacing

Gets or sets the distance between child nodes.

This is the distance between sibling nodes. A negative value causes sibling nodes to overlap. The default value is 20.

The #layerSpacing property determines the distance between a parent node and the layer of its children.

This sets the #rootDefaults' property of the same name.

Implementation

_i2.num get nodeSpacing => _i4.getProperty(
      this,
      'nodeSpacing',
    );
void nodeSpacing=(num value)

Implementation

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