straightenAndPack method

void straightenAndPack()

(undocumented) Adjusts the columns of nodes in the network to produce a layout which reduces the number of bends and is tightly packed.

When using #alignOption, nodes are assigned coordinates within their layers to produce straighter paths of nodes and small edge lengths.

Implementation

void straightenAndPack() {
  _i4.callMethod(
    this,
    'straightenAndPack',
    [],
  );
}