How to use doxygen to create UML class diagrams from C++ source

softwarematter picture softwarematter · Jan 21, 2011 · Viewed 108.7k times · Source

I have been searching for some material that describes how to generate simple class diagrams with doxygen, but couldn't find one. Can anybody help?

I need to create diagrams as shown below from a set of C++ files. alt text

If there are better tools to achieve this easier, please let me know.

Answer

DPD picture DPD · Jan 21, 2011

Doxygen creates inheritance diagrams but I dont think it will create an entire class hierachy. It does allow you to use the GraphViz tool. If you use the Doxygen GUI frontend tool you will find the relevant options in Step2: -> Wizard tab -> Diagrams. The DOT relation options are under the Expert Tab.