Read an approval path — steps, approvers, branch conditions, timeouts and exception exits — check the paths through it, and draw a standalone SVG or HTML diagram of what it found.
This walkthrough uses the tool's public README and checked-in example files. Run the command from a repository checkout with Node.js 22+; inspect the source before using it on your own files.
Run the checked-in example
npm install github:edilec/approval-path-visualizerRead the result
This installs the public GitHub source; approval-path-visualizer is not published to npm.
Where this check stops
The layout is a plain layered one: shortest-path layers top to bottom, steps ordered by id within a layer, straight arrows forward and a curve for anything that goes back. It is meant to be read and diffed, not to be pretty; on a dense graph, arrows cross.
Before adapting the command to your own workflow, review the accepted inputs, exit codes and safety boundaries in the README.
Compiled with AI assistance from checked-in public documentation and example scripts. Run the example and review the repository's current documentation before relying on its result.