pub fn break_cycle_recommendations(
report: &ScanReport,
limit: usize,
max_candidates: usize,
) -> Vec<CycleBreakCandidate>Expand description
Rank candidate local edges by how much each one’s removal reduces the
report’s cycle count. Considers up to max_candidates distinct local edges
(capped to avoid quadratic cost on large graphs); returns at most limit
recommendations sorted by reduction (descending), then path. Returns an
empty list when the report has no cycles.