转自http://wildpointer.net/2012/04/14/doxygen_graphviz/

上面这张图是用Doxygen+Graphviz从netcat的源代码生成的函数调用关系图。这种图有助于阅读源代码。
还可以生成class(或者struct)之间的关系图,如下所示:

现在介绍如何使用Doxygen和Graphviz生成这种图:
1. 下载并安装Doxygen和Graphviz。直接Google就可以找到主页,下载安装即可。
2. 记住Graphviz的安装目录,以后要用到。
3. 运行doxywizard。







April 14, 2012
posted on 2012-07-10 15:00
老马驿站 阅读(2119)
评论(0) 编辑 收藏 引用 所属分类:
技术博客