linkSpacing property

num get linkSpacing

(undocumented) Gets or sets the distance between link segments for unrelated links that would otherwise be overlapping. The default value is 4. The value must be non-negative.

If there are a lot of possibly overlapping links and the #layerSpacing is not large enough, some links may cross over nodes. You will either need to increase the layerSpacing or decrease this linkSpacing property.

Implementation

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

Implementation

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