Skip to main content

has_cycle

Function has_cycle 

Source
pub fn has_cycle<V>(q: &GraphQuery<V>) -> bool
where V: GraphValue + Clone, V::Id: Clone + Eq + Hash + Ord,
Expand description

Returns true if the graph contains a directed cycle.

Delegates to topological_sort.