Skip to content
  1. Examples
  2. Analysis

Weakly connected components

This example shows how to use the getConnectedComponents method to compute the weakly-connected components of a graph and use them to style it.
Click on a node to highlight its weakly-connected component.