depvis

Crates.iodepvis
lib.rsdepvis
version0.1.0
created_at2025-12-26 10:59:48.20372+00
updated_at2025-12-26 10:59:48.20372+00
descriptionFast, multi-language dependency graph visualizer
homepage
repositoryhttps://github.com/mfinean/depvis
max_upload_size
id2005572
size1,073,925
Mark Finean (mfinean)

documentation

README

depvis

CI Crates.io License: MIT Rust

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.

Web Viewer

Features

  • 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

Try It

git clone https://github.com/mfinean/depvis.git
cd depvis
cargo run --release --features serve -- --root examples/sample_workspace --serve

Open http://127.0.0.1:7878 to explore the interactive graph.

Installation

Pre-built binaries — Download from GitHub Releases

Install with cargo:

cargo install --git https://github.com/mfinean/depvis.git --features serve

Or build from source:

git clone https://github.com/mfinean/depvis.git
cd depvis
cargo install --path . --features serve

Usage

# 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

Documentation

License

MIT

Commit count: 0

cargo fmt