c++umldoxygengraphvizclass-diagram

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


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

I need to create UML class diagrams as shown below from a set of C++ files:

alt text

Can anybody help me tweak doxygen to generate such graphs?


Solution

  • 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.