Doxygen 有一个非常巧妙的功能,它可以从代码生成继承图。但是,当从具有公共(public)基类的类使用多重继承时,该图显示了两个独立的基类(即使我使用的是虚拟继承,如基类周围的虚线所示)
我怎样才能让 Doxygen 的情节更像下面这样。 . .
D
/ \
B C
\ /
A
而不是:(就像没有虚拟继承时发生的那样)
D
/ \
B C
| |
A A
最佳答案
If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is available from the path. This tool is part of Graphviz (see: http://www.graphviz.org/), a graph visualization toolkit from AT&T and Lucent Bell Labs. The other options in this section have no effect if this option is set to NO The default value is: NO.
设置为
HAVE_DOT = YES
关于c++ - 如何让 Doxygen 显示菱形继承图,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23813253/