Search code examples
javascriptc#algorithmcode-generation

It there any way to automatically visualizate JavaScript code tree?


I want to rewrite pretty complex application from JavaScript to C#. I have not created it and it is really complicated for me to find functions and convert them to C#. I was thinking about it and I think that creating some sort of "code tree" would help me, so I will know where to start.

The tree should show me how are the functions called, so I can determine what to rewrite first.

Image representation As you can see on example image that would be generated, I would start with finalFunc and chickenFunc since there are no more functions to move, then continue with someOtherFunc and getChickenTypes...

Is there any way to do it? If not have you got any tips to start rewriting a code that you have never seen before?


Solution

  • You can try some of these projects: