nodeSpacing property

num get nodeSpacing

Gets or sets the distance between child nodes.

The default value is 20.

A negative value will cause sibling nodes to overlap. This inherited property is initialized in the TreeLayout#initializeTreeVertexValues pass.

Implementation

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

Implementation

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