Doxygen: Is it possible to control the orientation of dependency graphs?

Until today, I used the "ancient" version (1.4.7) doxygen (+ dot) and usually drew graphs with a vertical orientation, for example,
enter image description here

.. but with the more recent (1.8.6 distributed via Ubuntu), the graphs seem horizontal, i.e. enter image description here

The problem with horizontal orientation is that many of the graphs go well from the right edge of the window, so you need to do a ā€œ2Dā€ scroll to see the data.

I looked at doxygen web pages, but couldn't figure out if it was possible to tell the point to draw them in a vertical orientation. Does anyone know if such an option exists?

+3
source share
1

2014 , : doxygen -

, , , rankdir.

1) , Doxygen . DOT_CLEANUP = NO .

2) , Doxygen. * __ incl.dot. <source>.dot

3a) , dot rankdir ( TB) ), .

dot -Grankdir="LR" -Tpng -o<source>.png -Tcmapx -o<source>.map <source>.dot 

3b) - rankdir , rankdir="LR" ( rankdir "TB").

digraph "AppMain"
{
  rankdir="LR";
...

:

dot -Tpng -o<source>.png -Tcmapx -o<source>.map <source>.dot 

Doxygen. , . 3b :). , , :

Windows?

+4

Source: https://habr.com/ru/post/1536735/


All Articles