Skip to content

v0.4.2

Choose a tag to compare

@deeplook deeplook released this 15 Apr 15:49
· 232 commits to main since this release

Fixed

  • Cushion shading applied to directory tiles — the batch cushion pass
    incorrectly treated directory rectangles as file tiles, applying full-strength
    shading to the entire area of each directory. Directories are now shaded at half
    strength (scale 0.5) to give broad structural context, while individual file leaf
    tiles continue to receive full-strength shading. The effect is two-level: directory
    gradients provide coarse orientation, per-file gradients add local detail — matching
    the hierarchical intent of van Wijk (1999). Both the PNG and SVG renderers are updated.

Added

  • dirplot overview command — prints a human-readable summary of all
    commands, their arguments, options, and global options. Appears at position
    #2 in the help listing.

  • dirplot hg command — replay Mercurial changeset history as an animated
    treemap, identical in interface to dirplot git. Supports --animate,
    --max-commits, --last, --total-duration, --frame-duration, --fade-out,
    --dark/--light, --workers, --crf, --codec, and all other animation flags.
    The @rev suffix on the repo path passes a revset directly to hg log.
    Requires hg on PATH. Only local repositories are supported — there is no
    hg:// URI scheme because there is no Mercurial equivalent of GitHub.

    dirplot hg /path/to/repo --output history.png --animate
    dirplot hg /path/to/repo@tip --output history.png
    dirplot hg /path/to/repo --animate --last 30d --output history.mp4