graphite-0.10.0.1: Graphs and networks library
Data.Graph.Traversal
bfsVertices :: (Graph g, Hashable v, Eq v, Ord v) => g v e -> v -> [v] Source #
breadh-first-search vertices starting at a particular vertex
dfsVertices :: (Graph g, Hashable v, Eq v, Ord v) => g v e -> v -> [v] Source #
depth-first-search vertices starting at a particular vertex