- Notifications
You must be signed in to change notification settings - Fork21
CLI to generate an interactive graph of functions and calls from your TypeScript files
License
whyboris/TypeScript-Call-Graph
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ThisCLI will create an interactive graph of all the functions and their calls in the TypeScript files you provide.
npm install -g typescript-call-graph
Inside any directory, run:
tcg
It will remind you how to use the CLI: you need to provide specific files, or globs (wildcard paths):
tcg myFile.ts folder/* anotherFolder/**/*
Clone repository. Editindex.ts
and/orextract.ts
and runnpm start
to build changes,npm test
to run CLI against files in this repository.
Suggestions or PRs for how to improve this CLI are very welcome 🙇
- Matteo Abrate for thetangled tree visualization
- Mike Bostock for thearc diagram
- GraphViz,node-graphviz, andd3-graphviz for the simple graph
- Mermaid-JS for a way to create a graph
- Tutorial and code for processing TypeScript (AST)
- Tutorial for creating aCLI
- TS-Call-Graph for inspiration
About
CLI to generate an interactive graph of functions and calls from your TypeScript files
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors5
Uh oh!
There was an error while loading.Please reload this page.