We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 4 months ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
数据流图更难,因为它们需要大部分编译器前端来导出绘制它们所需的基本信息。 但是您可以使用 Doxygen 获取调用图和调用者图以及某些类型的实体关系图="http://www.graphviz.org/" rel="noreferrer">Graphviz。
此外,Graphviz 通常可用于根据原始数据绘制具有可读布局的各种图形。 例如,很容易遍历树结构并以 DOT 语言输出描述以供 Graphviz 绘制。
使用正确的选项设置 Doxygen,然后将其释放到遗留代码上,您将获得内部文档的开头,以帮助您找到解决方法。
Dataflow diagrams are harder because they require most of a compiler front end to derive the basic information needed to draw them. But you can get call and caller graphs as well as some kinds of entity relationship diagrams out of Doxygen with Graphviz.
Also, Graphviz is generally useful for drawing all kinds of graphs with readable layouts from raw data. It is easy to walk a tree structure and output a description in the DOT language for Graphviz to draw, for example.
Set Doxygen up with the right options, and turn it loose on the legacy code and you will get the beginnings of an internals document to help find your way around too.
FateSoftware 的“Code Visual to Flowchart”也可能会有所帮助。
"Code Visual to Flowchart" from FateSoftware may also obe of help.
您可以尝试 code2flow:
https://code2flow.com
它将您的代码转换为流程图。
You can try code2flow:
https://code2flow.com
It convert your code to Flowchart.
Dia 是一个类似于 Microsoft Visio 的程序。 它不是那么顺利,但它完成了工作。 当 Visio 不可用时,我总是专业地使用它。 这主要用于 UML 和流程图,导出为 png 和矢量,我认为 PDF 也是如此。
Dia is a program that resembles Microsoft Visio. It isn't as smooth, but it gets the job done. I always use this professionally when Visio isn't available. This is mainly for UML and Flowcharts, exports to png, and vectors, and I think PDF's as well.