Skip to main content

Module cluster

Module cluster 

Source
Expand description

Louvain community detection for discovering functional modules in the code graph.

Builds an undirected weighted graph from CALLS edges, then runs single-level Louvain modularity optimization. Results are stored as Cluster nodes and MEMBER_OF edges in the graph.

Structs§

ClusterStats
Statistics returned after clustering.

Functions§

detect_clusters
Run Louvain community detection on the code graph and store results.