toposort_lenient

Function toposort_lenient 

Source
pub fn toposort_lenient<G>(graph: &G) -> ToposortData<G::V>
where G: FinGraph, G::V: Hash + Debug,
Expand description

Implementation of topological sort which does not return an error when it encounters cycle.