3 releases (stable)
new 2.1.0 | Mar 13, 2025 |
---|---|
2.0.0 | Mar 11, 2025 |
#26 in Visualization
122 downloads per month
3MB
2.5K
SLoC
cargo-visualize
Know your dependencies via interactive cargo dependency graph visualization.
An opinionated fork of cargo-depgraph that focuses on interactivity.
🚧 Under Development 🚧
cargo-visualize
is still under heavy development. Missing features and frictions with the UI interface are expected. You are welcome to submit pull requests to makecargo-visualize
better!
Installation
Usage
cargo visualize [options]
The full list of options can be seen by running
cargo visualize --help
Commonly useful options:
--all-deps
--all-deps --dedup-transitive-deps
Output explanation
- Cyan background = root / workspace member
- Grey background = target-specific dependency
- Green background = optional dependency
- Dark Green background = optional target-specific dependency
- Dotted lines = optional dependency (could be removed by disabling a cargo feature)
- Dashed lines = transitively optional dependency (could be removed by removing one of the dotted edges)
Advanced Usage
The G6 Graph engine is exposed as a global variable.
You can interact with the graph
variable directly in F12 Developer Console.
However, we make no promise about the stability of this interface.
Dependencies
~12–21MB
~275K SLoC