Skip to main content

god_nodes

Function god_nodes 

Source
pub fn god_nodes(graph: &KnowledgeGraph, top_n: usize) -> Vec<GodNode>
Expand description

Find the most-connected nodes, excluding file-level hubs and method stubs.

Returns up to top_n nodes sorted by degree descending. Generic labels like “lib”, “mod”, “main” are disambiguated with the crate/module name extracted from source_file.