This script will generate a Mermaid directed graph as an SVG image showing the dependency connections between files starting with the input file as an entrypoint.
- Set input file in
src/index.js
pnpm i
pnpm generate
- Open
output/trace.svg
in a browser