Skip to content

Incorrect documentation for dfs_tree. #366

Closed
@iago-lito

Description

@iago-lito
Contributor

"""
dfs_tree(g, s)
Return an ordered vector of vertices representing a directed acyclic graph based on
depth-first traversal of the graph `g` starting with source vertex `s`.
"""

The function does not return a vector of vertices but a graph. Also, it does accept a dir keyword argument, just like bfs_tree.

Activity

gdalle

gdalle commented on Apr 22, 2024

@gdalle
Member

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

gdalle

gdalle commented on May 4, 2024

@gdalle
Member

Closed by #367

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @iago-lito@gdalle

        Issue actions

          Incorrect documentation for `dfs_tree`. · Issue #366 · JuliaGraphs/Graphs.jl