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§
- Cluster
Stats - Statistics returned after clustering.
Functions§
- detect_
clusters - Run Louvain community detection on the code graph and store results.