A fast, multi-language dependency graph visualizer written in Rust.
Scan any codebase and generate interactive dependency graphs showing how files, packages, and build targets connect.
- Multi-language — JavaScript/TypeScript, Python, Rust, Go, npm, CMake, ROS
- Interactive web viewer — D3.js force graph with search, filtering, and path finding
- Multiple outputs — Text, JSON, DOT, PNG, SVG
- Cycle detection — Find and report circular dependencies
- Smart caching — Fast incremental updates
git clone https://github.com/mfinean/depvis.git
cd depvis
cargo run --release --features serve -- --root examples/sample_workspace --serveOpen http://127.0.0.1:7878 to explore the interactive graph.
Pre-built binaries — Download from GitHub Releases
Install with cargo:
cargo install --git https://github.com/mfinean/depvis.git --features serveOr build from source:
git clone https://github.com/mfinean/depvis.git
cd depvis
cargo install --path . --features serve# Scan current directory
depvis
# Launch interactive web viewer
depvis --serve
# Generate SVG visualization
depvis --svg output.svg
# Show only package-level dependencies
depvis --preset packages
# Detect circular dependencies
depvis --cycles
# Comprehensive graph analysis
depvis --analyze- CLI Reference — All command-line options
- Supported Languages — What each analyzer detects
- Configuration — Config file options
- Development — Contributing and building
MIT
