C++ code to class diagram
问题 Is there is a way I can generate a hierachial class diagram from C++ code. My code is spread over 5 to 6 .cpp files. I would like to know if there is any free tool for the same. Regards, AJ 回答1: There's e.g. doxygen http://www.doxygen.nl/manual/features.html says: Uses the dot tool of the Graphviz tool kit to generate include dependency graphs, collaboration diagrams, call graphs, directory structure graphs, and graphical class hierarchy graphs. It creates graphs like (from http://www.vtk.org