JuliaGraphs / Graphs.jl

An optimized graphs package for the Julia programming language
http://juliagraphs.org/Graphs.jl/
Other
451 stars 87 forks source link

Incorrect documentation for `dfs_tree`. #366

Closed iago-lito closed 2 months ago

iago-lito commented 3 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.

gdalle commented 3 months ago

Good catch! Do you want to submit a documentation PR to fix it?

gdalle commented 2 months ago

Closed by #367