0

I've a C++ project structured like this:

  • a main.cpp file in the root folder (where the doxygen_config file is contained)
  • a src folder with all .cpp class files
  • an include folder with all .h class files

Even if there's no hierarchy (no heritage and no interfaces) between the classes I've defined, is there a way to create an UML diagram with the classes printed as blocks, and some arrows to indicate if a class is member of another? I've tried Doxygen but it creates only a class hierarchy indicating heritage.

timrau
  • 22,578
  • 4
  • 51
  • 64
user1403546
  • 1,680
  • 4
  • 22
  • 43

1 Answers1

0

Per Doxygen Manual: Graph and Diagrams and Doxygen Manual: Configuration, you could install GraphViz, set HAVE_DOT, EXTRACT_ALL, UML_LOOK and CLASS_GRAPH as YES in configuration Doxyfile, and get what you want.

albert
  • 8,285
  • 3
  • 19
  • 32
timrau
  • 22,578
  • 4
  • 51
  • 64