BitGraph.Dfs (bitgraph v0.1.1)

Depth-first search. Implementation roughly follows https://cp-algorithms.com/graph/depth-first-search.html

Summary

Functions

acyclic?(state)

order(state, atom, order)

run(graph, vertices \\ :all, opts \\ [])

vertex_color(state, vertex)