Visual Studio - Generate UML from a c++ project

感情迁移 提交于 2019-12-03 11:19:31

问题


Currently I am reading though the cryengine gamecode. It is huge not very well documented. It would be really good if I could create an UML diagram from the project file.

I already found some tools to generate an UML diagram from c++ code, the problem is that the cryengine project is really huge and it would take a lot of time to do this.

Do you think this is possible?


回答1:


Visual Studio has the build-in UML generator. On Visual Studio project, select Class View, right click on the namespace, select View Class Diagram. It may take a while to generate UML diagrams if your project is big. Hope this helps.




回答2:


You may be disappointed by the result: a huge mess of C++ may render as an equally hugely complicated UML diagram.

Nevertheless, one tool that designed to help visualize large C++ code bases is Understand.



来源:https://stackoverflow.com/questions/13452507/visual-studio-generate-uml-from-a-c-project

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