pub fn analyze_graph_data(
imports: &HashMap<String, HashSet<String>>,
target: GraphTarget,
limit: usize,
) -> GraphReportExpand description
Analyze graph-theoretic properties of an abstract dependency graph.
Takes an adjacency list (HashMap<String, HashSet<String>>) and a limit
for the number of items to return in each section. Pass 0 or usize::MAX
for no limit — 0 is treated as “unlimited” so callers do not accidentally
truncate all results to empty Vecs while stats counts still reflect the
full data (which would produce misleading reports). The target parameter
is recorded in the report for display.