nodeMinLayerSpace method

num nodeMinLayerSpace(
  1. LayeredDigraphVertex v,
  2. bool topleft
)

(undocumented) This function returns the minimum space reserved for this node from the center point for the "depth" of the layer that it is in.

The default implementation returns 0 for nodes that do not correspond to top-level Go objects. For nodes that do correspond to top-level Go objects, the layer space is determined by the width or height of the object depending on the #direction. By default this adds 10 to the space, to account for port end segment lengths.

Implementation

_i2.num nodeMinLayerSpace(
  _i3.LayeredDigraphVertex v,
  _i2.bool topleft,
) =>
    _i4.callMethod(
      this,
      'nodeMinLayerSpace',
      [
        v,
        topleft,
      ],
    );