pub fn all_paths<V>(
q: &GraphQuery<V>,
weight: &TraversalWeight<V>,
from: &Pattern<V>,
to: &Pattern<V>,
) -> Vec<Vec<Pattern<V>>>Expand description
Enumerate all simple paths from from to to (no repeated nodes).
Returns a Vec of paths. Exponential worst case — use only on small graphs
or bounded subgraphs.