whyboris / typescript-call-graph Goto Github PK
View Code? Open in Web Editor NEWCLI to generate an interactive graph of functions and calls from your TypeScript files
License: MIT License
CLI to generate an interactive graph of functions and calls from your TypeScript files
License: MIT License
This is great! Have you thought about adding support for methods on classes/objects?
Please share beautiful screenshots below ๐โโ๏ธ
This repository is still WIP ๐ง feel free to suggest other visualizations (and visualization libraries) for this project ๐ค
https://code.visualstudio.com/updates/v1_33#_call-hierarchy
This is not an issue, just an FYI for others who get to this project.
steps to reproduce the issue:
yarn init -y
yarn add typescript-call-graph
yarn run tcg
env: node\r: No such file or directory
There's some discussion here yarnpkg/yarn#5480
I've been trying to use tcg on both Windows + Linux, and no matter what filenames or wildcards I tell it to analyze it always just comes up with this in the browser:
Those are functions from the source code of TypeScript-Call-Graph itself, not my project.
The console output does list a bunch of my function names... so the analysis/backend does appear to be analyzing my code.. But for some reason the frontend is just displaying a graph for TypeScript-Call-Graph itself.
Hi,
It seems that arrow functions are not taken into account today right ?
I just changed few of them with regular function and it worked.
It would be nice to have that feature.
Thanks.
https://github.com/terrastruct/d2
D2 is a modern diagram scripting language that turns text to diagrams.
Does not detect this style of function:
const m = (num: number) => Number(num.toFixed(2));
Anyway to ignore list length?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.