← Back to Examples

Girvan-Newman Algorithm Explained

Like peeling an onion layer by layer to reveal the natural groups inside!

The Girvan-Newman algorithm finds communities by removing the most important "bridge" connections between groups. It creates a hierarchy showing how communities split apart as connections are removed.

Communities
-
Modularity
-
Step
0
Edges Removed
0
Click "Start Algorithm" to see how Girvan-Newman finds communities by removing bridge edges
Original Network
Community 1
Community 2
Community 3
Community 4

Key Concept:

The Girvan-Newman algorithm works by identifying and removing edges with the highest betweenness centrality - edges that lie on many shortest paths between nodes. These "bridge" edges connect different communities, so removing them reveals the natural community structure.

Code Example

Loading code...