有没有办法自动生成数据流图和流程图?

发布于 2024-07-17 19:45:27 字数 1543 浏览 5 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

北方的韩爷 2024-07-24 19:45:27

数据流图更难,因为它们需要大部分编译器前端来导出绘制它们所需的基本信息。 但是您可以使用 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.

花开半夏魅人心 2024-07-24 19:45:27

FateSoftware 的“Code Visual to Flowchart”也可能会有所帮助。

"Code Visual to Flowchart" from FateSoftware may also obe of help.

陪你到最终 2024-07-24 19:45:27

您可以尝试 code2flow:

https://code2flow.com

它将您的代码转换为流程图。

You can try code2flow:

https://code2flow.com

It convert your code to Flowchart.

酷到爆炸 2024-07-24 19:45:27

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文