[][src]Function gamma::traversal::to_adjacency

pub fn to_adjacency<N, I>(traversal: I) -> Result<HashMap<N, Vec<N>>, Error> where
    N: Hash + Eq + Clone,
    I: IntoIterator<Item = Step<N>>, 

Returns an adjacency map given the result of a traversal represented as an iterable sequence of Steps.