Skip to content

Crate graphviz should Read as well as Write #21868

Description

@alexchandel

Presently the graphviz crate can only write out dot files, and only through the blanket GraphWalk trait, which describes a generic directed graph. Graphviz should also have the ability to read a dot file into memory, preserving the attributes of nodes and edges. This is probably one among many features that could be added to GraphWalk, but it would be immediately useful for parsing and manipulating dot files (a task I'm attempting right now).

Activity

  1. steveklabnik commented on Feb 2, 2015

    @steveklabnik
    Contributor

    Considering this crate is private to rustc, I'm not sure that we need to add this.

  2. kmcallister commented on Feb 3, 2015

    @kmcallister
    Contributor

    Yes. A full-featured graph library should live on crates.io, not in the compiler.

  3. alexchandel commented on Feb 3, 2015

    @alexchandel
    Author

    Yes, a full-featured graphviz library should live in crates.io, not here. But the fact is, crate graphviz does live here.

  4. added a commit that references this issue on Jun 23, 2026
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

      Issue actions