whyboris / TypeScript-Call-Graph

CLI to generate an interactive graph of functions and calls from your TypeScript files
MIT License
233 stars 20 forks source link

Browser just showing TypeScript-Call-Graph's own internal functions only - not the functions from my project #18

Closed hi2u closed 2 years ago

hi2u commented 2 years ago

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:

2022-05-24_172944 - TypeScript Call Graph

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.

whyboris commented 2 years ago

The screenshot you show is of 4 links, the top link is an image that you need to click -- please click on it 😅

whyboris commented 2 years ago

When you click on the small image, a new page should load, and be formatted like the screenshot in the README but with your code 😉

image