How can I reverse engineer my JavaScript files with js/uml?

丶灬走出姿态 提交于 2019-12-04 04:44:23

Someone adapted UML for web artifact, its called the "WAE" extension of UML. This way you can see not only your javascript files but the html and css. If you work with node.js, i created a module that generate class diagram for javascript/node/html/css. Its called wavi. For javascript, function,variable are automatically recognized. You can use it for documenting your application.

https://www.npmjs.org/package/wavi

Well, I think I have come quite close.

There's a command-line tool called Code2Flow. which uses GaphViz to generate graphs for Python and JavaScript sources.

I tried it, it does generate the graphs but somehow i can't make to do right.

I hope this will help you or someone.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!