All examples By author By category About

elbazu

Javascript Network Clustering Library

netClustering allows you to detect clusters in networks using the Clauset, Newman and Moore community detection algorithm directly from the browser, as simple as:

netClustering.cluster(nodes, edges);

and the clusters will be stored in the .cluster attribute of the nodes.

This demo shows how to use the library applying to the standard D3 Force directed layout demo. Click on the cluster button to detect the communities on the sample dataset.

Download the library at the netClustering gitHub repository

forked from john-guerra's block: Javascript Network Clustering Library