Generate a visually stunning dependency graph from your Angular or Typescript project
Find a file
2021-06-21 19:52:28 +02:00
dist Fix issue with config path 2021-06-21 19:52:28 +02:00
screenshot Add dark mode switch 2020-12-08 22:52:03 +01:00
bin.js This will be the package 2020-12-05 20:18:33 +01:00
depgraph.config.js.example Fix issue with config path 2021-06-21 19:52:28 +02:00
package.json Fix issue with config path 2021-06-21 19:52:28 +02:00
README.md Add dark mode switch 2020-12-08 22:52:03 +01:00

Typescript (Angular) Dependency Graph drawer

Uses vis.js, check it out, it's pretty cool.

Usage

npm install -g ts-depgraph

Customize depgraph.config.js if you want

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.

Run graph generator

ts-depgraph

Open depgraph.html

Dark mode, yay!