C / C ++源$ C $ C可视化? [英] c/c++ source code visualization?
问题描述
基本上我想要的生成源$ C $ C可视化一样的工具:
Basically I want tools which generate source code visualization like:
- 函数调用关系图
- 依赖关系图
- ...
推荐答案
Doxygen的是这个真正优秀的,虽然你将需要安装 GraphViz的来获得图形绘制。
Doxygen is really excellent for this, although you will need to install GraphViz to get the the graphs to draw.
一旦你安装了一切,这真的很简单绘制图表。请确保您设置 EXTRACT_ALL 并的 CALL_GRAPH 为true,你应该是好去。
Once you've got everything installed, it's really rather simple to draw the graphs. Make sure you set EXTRACT_ALL and CALL_GRAPH to true and you should be good to go.
在此功能的Doxygen的完整文档是这里,它也有一个有用的< A HREF =http://www.stack.nl/~dimitri/doxygen/examples/diagrams/html/index.html>例如。
The full documentation on this function for Doxygen is here, and it also has a useful example.
这篇关于C / C ++源$ C $ C可视化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!