Skip to main content
Render your codebase as an interactive map. fallow viz runs one project analysis and writes a single self-contained HTML file (no server, no external assets) styled like the rest of fallow. It is read-only and honors --production, --config, and --no-cache like the analysis commands.

The two views

The HTML report gives you two views over the same project:
  • Treemap of files sized by bytes, nested by directory.
  • Force-directed import graph with directory and import-community clustering.

The four lenses

Both views share four lenses that recolor the same map: Click any file to open a detail panel with the evidence behind each finding: unused export names, clone groups and their other locations, boundary crossings, cycle membership, importers and imports as click-through navigation, and a runnable fallow ... --trace command to verify the finding yourself. Search, breadcrumb drill-down, keyboard shortcuts, shareable URL deep links, and dark/light themes are built in. Findings carry a hatch texture and [E]/[W] prefixes so color is never the only signal, and all motion honors prefers-reduced-motion.

Options

Global flags such as --changed-since, --workspace, and --threads also apply; see global flags.

Text formats

--viz-format dot and --viz-format mermaid emit the import graph as text instead of the HTML map, for piping into other tools: