Skip to main content

annotate_cycles

Function annotate_cycles 

Source
pub fn annotate_cycles(
    graph: &mut Graph,
    flow_kinds: &HashSet<String>,
) -> Vec<CycleGroup>
Expand description

Detect SCCs (≥ 2 members) over flow edges, write a cycle attribute on each participating node ("mutual" for a 2-node SCC, "chain" for 3+), and return the cycle groups.