layerSpacing property

num get layerSpacing

Gets or sets the distance between a parent node and its children.

This is the distance between a parent node and the layer of its children. Negative values may cause children to overlap with the parent. The default value is 50.

The #nodeSpacing property determines the distance between siblings. The #rowSpacing property determines the distance between multiple rows or columns of children.

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

Implementation

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

Implementation

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