Modularity Community Detection in a Quantum-Tech Collaboration Network
Watch a real greedy modularity-optimization algorithm (Clauset-Newman-Moore) discover research communities in a quantum-tech collaboration network, with live Q = (1/2m)Σ[A_ij − k_i·k_j/(2m)]δ(c_i,c_j) computed from the actual adjacency and degree sequence.
This simulation runs a real greedy modularity-optimization algorithm (the Clauset–Newman–Moore fast-greedy method) on a synthetic network of quantum-tech researchers and their collaborations. Starting from every researcher as their own singleton community, the algorithm repeatedly merges whichever pair of communities produces the largest exact increase in modularity Q = (1/2m)Σ[A_ij − k_i·k_j/(2m)]δ(c_i,c_j), computed directly from the graph's adjacency matrix and degree sequence — not faked or pre-assigned. Watch nodes visibly group into color-coded communities as Q climbs toward its greedy-optimal value, then generate a fresh random network to see the algorithm re-discover a different hidden structure.
A stochastic block model graph shows the interaction between labs, with communities detected using modularity optimization. Nodes cluster as communities merge, and a chart tracks Q-value changes.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install