Skip to main content

find_bridges

Function find_bridges 

Source
pub fn find_bridges(
    imports: &HashMap<String, HashSet<String>>,
) -> Vec<BridgeEdge>
Expand description

Bridge finding via Tarjan’s bridge algorithm on the undirected view. Only report bridges where exactly one directed edge exists (bidirectional ≠ bridge).