tree-graphviz 0.2.0

Generate GraphViz DOT directed trees, based on an arbitrary tree structure.
Documentation
  • Coverage
  • 100%
    4 out of 4 items documented0 out of 3 items with examples
  • Size
  • Source code size: 20.52 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.17 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Siri-chan/tree-graphviz
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Siri-chan

A simple crate for generating GraphViz dot directed trees, based on an arbitrary tree structure. A tree can be any struct that implements: - std::string::ToString - std::hash::Hash - and TreeVizNode Currently, this crate does not support recursive elements within a tree.

This crate aims to be dependency free, and fast. An optional "async" feature is available and provides an async variant of draw_nodes - draw_nodes_async, which will recurse through a node's children concurrently. This introduces a dependency on the futures crate, but may be quicker, especially if futures is already in your dependency tree.

If you want to run tests on this crate, use cargo test --all-features, or the async-related tests will not run.