Uses vis.js, check it out, it's pretty cool.
npm install -g ts-depgraph
You can check the example in the package directory (depgraph.config.js.example
) or you can leave it out completely, default starting folder is the current.
projectDirectory
: this is the directory where your src
directory is. Without trailing slash.
tsconfig
: if you have path aliases defined in tsconfig, you can refer it here. Otherwise projectDirectory/tsconfig.json
is used.
ts-depgraph
Dark mode, yay!