Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio - Generate UML from a c++ project

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?

like image 839
Maik Klein Avatar asked Nov 19 '12 11:11

Maik Klein


2 Answers

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.

enter image description here

like image 100
billz Avatar answered Oct 26 '22 15:10

billz


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.

like image 36
ChrisW Avatar answered Oct 26 '22 15:10

ChrisW