Closed iago-lito closed 2 months ago
https://github.com/JuliaGraphs/Graphs.jl/blob/bf9544bca1c154e9e31decc4b149d2de96970bf6/src/traversals/dfs.jl#L84-L89
The function does not return a vector of vertices but a graph. Also, it does accept a dir keyword argument, just like bfs_tree.
dir
bfs_tree
Good catch! Do you want to submit a documentation PR to fix it?
Closed by #367
https://github.com/JuliaGraphs/Graphs.jl/blob/bf9544bca1c154e9e31decc4b149d2de96970bf6/src/traversals/dfs.jl#L84-L89
The function does not return a vector of vertices but a graph. Also, it does accept a
dir
keyword argument, just likebfs_tree
.