CLI reference for fallow viz. Generate an interactive HTML visualization of your codebase: a treemap of files by status and a force-directed import graph, plus Graphviz DOT and Mermaid output.
Generate an interactive visualization of your codebase. fallow viz runs the analysis once and writes a single self-contained HTML file (no server, no external assets) that you can open in any browser or share.
fallow viz
The HTML opens in your browser automatically. It has two linked views:
Treemap: every file as a box sized by its byte count and colored by status (entry point, clean, has unused exports, fully unused). Click a directory to drill in; the breadcrumb walks back out.
Graph: a force-directed import graph with directory or import-community clustering. Drag nodes to reposition them, scroll to zoom, drag the background to pan, and hover a node to highlight its neighborhood.
Both views support search, filters, dark mode, and keyboard navigation.
# Open an interactive visualization in your browserfallow viz# Write to a specific path without opening itfallow viz --out docs/codebase.html --no-open
The HTML is a single self-contained file with the analysis data embedded inline, so you can commit it, attach it to a PR, or open it offline. Nothing is uploaded.