spacing property

num spacing

Gets or sets the distance between nodes (if #radius is NaN) or the minimum distance between nodes (if #radius is a number).

The default value is 6. The value may be NaN.

If #spacing is NaN, there is no minimum spacing, allowing nodes to overlap, unless #radius is NaN, in which case the effective spacing will be 6 to determine an effective radius. If #spacing is a number but #radius isn't, the effective spacing will be spacing, and this will determine the effective radius. If both #spacing and #radius are numbers, the effective radius will be at least #radius, but may be larger so that the minimum spacing between nodes is #spacing.

Implementation

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

Implementation

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