pub fn detect_communities( graph: &HashMap<String, FileNode>, min_community_size: usize, ) -> Result<ArchitectureOverview>
Build an architecture overview from the import graph using Louvain community detection.