Function: connectedComponents()
ts
function connectedComponents(graph, options?): Components;Connected components, ignoring the direction of links (the weak components of a directed graph). A node without links is a component of its own.
Parameters
| Parameter | Type |
|---|---|
graph | GraphLike |
options | MetricOptions |