2 unstable releases
0.2.0 | Sep 26, 2021 |
---|---|
0.1.0 | Sep 26, 2021 |
#16 in #represented
33KB
568 lines
dot-trait
A trait to generate a GraphViz dot file from a value.
lib.rs
:
The Visualize
trait allows any Rust data structure to be graphically represented using
GraphViz and Dot.
This crate is currently a work in progress. Major TODO items:
- Create derive macro for automatically implementing Visualize for arbitrary types
- Create impls for std library types
- Replace the crate::util::html_encode method with a proper implementation
- Replace this list with an ez intro to the lib, which will probably look just like the [Graph] docs
- Automatically add referenced data to graphs
Early adopters can make use of this crate by manually implementing [Visualize].
Users will want to use the [Graph] datatype to generate visualizations.
Dependencies
~240–690KB
~16K SLoC