splitIntoSubNetworks method

List<LayoutNetwork> splitIntoSubNetworks([
  1. bool? clean
])

Modify this network by splitting it up into separate subnetworks, each of which has all of its vertexes connected to each other, but not to any vertexes in any other subnetworks.

This method will first delete from this network all artificial vertexes and all edges that do not connect two different vertexes. Afterwards, this original network may be empty or may contain all of the singleton vertexes, each of which had no edges connecting it to any other vertexes. @param {boolean=} clean whether to delete artificial vertexes and edges, disconnected edges, and reflexive edges; default is true @return {List.

Implementation

_i3.List<_i3.LayoutNetwork> splitIntoSubNetworks([_i2.bool? clean]) =>
    _i4.callMethod(
      this,
      'splitIntoSubNetworks',
      [clean ?? _i5.undefined],
    );