ForceDiagram.connected_components

ForceDiagram.connected_components()[source]

Find the connected components of the mesh.

Parameters

mesh (Mesh) – A mesh data structure.

Returns

list[list[int]] – Groups of connected vertices.