doLayout method

void doLayout(
  1. Object coll
)

Perform the layered digraph layout.

If there is no Layout#network, this calls #makeNetwork to create a LayoutNetwork from the given collection of Parts. This removes any reflexive edges in the network, since they should be ignored.

In order to influence a vertex's layer, you can override #assignLayers.

Finally this calls Layout#updateParts to commit the Node positions from the vertex positions. Layout#updateParts calls #commitLayout within a transaction. @param {Diagram|Group|Iterable.

Implementation

void doLayout(_i2.Object coll) {
  _i4.callMethod(
    this,
    'doLayout',
    [coll],
  );
}