Skip to main content

is_connected

Function is_connected 

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

Returns true if the entire graph is connected under weight.

An empty graph is vacuously connected (returns true).