Such a tool would be especially useful for onboarding into new codebases, understanding what parts of a codebase are "hot", providing insight into risk of refactoring and a visualization of how code flows throughout the system.
Anything out there that does this?
But there are some other tools for languages like JavaScript where such a graph generation might be a bit more involved.
There are some tools for architectures too, but I have never used them. For VSCode I know of Code Graph that might visualize usages of function etc.