Traits for traversing through your own structure and generating DOT language (reference) files for graphs to be rendered by another tool.
This crate is extracted from the Rust compiler source tree.
It is based on compiler/rustc_graphviz
at commit fa18140
.
The crate has been renamed and moved from src/librustc_graphviz
and
previously src/libgraphviz
.
In addition to its origin as an internal crate, others have extracted forks of
their own, as a matter of course. Among them are dot
which has a messy
history and appears to have changed hands a few times, and dot2-rs
.
This project's history contains all known commits to each file, from the original and cherry-picked contributions to derivative sources. Delicate care has been taken to preserve each commit's original author.
You can create your own filtered repository from newer Rust source by running these commands:
git clone git@github.com:rust-lang/rust.git rustc_graphviz
cd rustc_graphviz
git filter-repo \
--path src/libgraphviz \
--path src/librustc_graphviz \
--path compiler/rustc_graphviz \
--subdirectory-filter src/libgraphviz \
--subdirectory-filter src/librustc_graphviz \
--subdirectory-filter compiler/rustc_graphviz \
--prune-empty always \
--prune-degenerate always
This project is dial-licensed under either MIT or Apache-2.0, at your option. This licensing the same as the Rust Project, from which this fork is based.
See COPYRIGHT for more information.