C / C ++源$ C ​​$ C可视化? [英] c/c++ source code visualization?

查看:120
本文介绍了C / C ++源$ C ​​$ C可视化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

基本上我想要的生成源$ 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 =htt​​p://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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆