Following up on How to generate call-graphs for given javascript?, which was closed because it needs to focus on "one problem only", so here is my focus --
How to generate the callgraph for my nodejs Javascript program?
I wrote it myself, and used class inherit and inherit and inherit..., but that's a while ago, and I am never a Javascript programmer in the first place, so I need to know what's going on.
The solution to the about question, "https://stackoverflow.com/questions/1385335/how-to-generate-function-call-graphs-for-javascript" no longer exist any more. So I'm thinking better try to ask it again.
I did some research and found some tool called JavaScript Studio can do it, but am really wonder whether it comes to the top because of widely acceptance, or just it did a good job in SEO. So, again,
How to generate a call tree for nodejs programs that used lots of nested require
s and nested class inheritances?
I don't mind the best of breed approach (e.g., hand-crafting some js/awk
scripts to glue things together and view with graphviz
), and would avoid huge tools/installations for this seldom-used task if possible.