Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generate graphs and diagrams with Doxygen

Tags:

ubuntu

doxygen

I need to generate class diagrams or a graph of a C++ project using Doxygen, I installed it on Ubntu 12.04 as follow:

 sudo apt-get install doxygen
 sudo apt-get install doxygen-gui

now I don't know how to run the gui, or how to generate the graphs from the surce code, the manual doesn't help.

like image 299
Ahmed Waheed Avatar asked Jun 06 '13 13:06

Ahmed Waheed


People also ask

Can doxygen generate class diagram?

Doxygen will not generate an actual full diagram of all classes in the project. It will generate a separate image for each hierarchy. If you have multiple, unrelated class hierarchies you will get multiple images. All these diagrams can be found in html/inherits.

How do you use doxygen dot?

If you have the "dot" tool in the path, you can set HAVE_DOT to YES in the configuration file to let doxygen use it. Doxygen uses the "dot" tool to generate the following graphs: A graphical representation of the class hierarchy will be drawn, along with the textual one.


1 Answers

you need to install graphviz for diagrams

sudo apt-get install graphviz
sudo apt-get install doxygen-gui

than to start doxygen gui type in terminal type

doxywizard
like image 177
nkvnkv Avatar answered Sep 23 '22 23:09

nkvnkv