生成 UML 类图

发布于 2024-10-03 14:38:04 字数 1539 浏览 0 评论 0原文

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

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

发布评论

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

评论(8

撩动你心 2024-10-10 14:38:04

我有偏见,但您还应该查看 Architexa 的代码理解工具。它将为您生成整个代码库的分层图。您可以为单个包或类创建类图。

I'm biased but you should also check out the Code Understanding Tool from Architexa. It will generate a layered diagram for you of your whole code base. You can create class diagrams for individual packages or classes.

用心笑 2024-10-10 14:38:04

不确定 Eclipse 或其插件,但您肯定可以在 Netbeans 中做到这一点。 方法如下

Netbeans UML 插件 的官方页面。

Not sure about Eclipse or its plug-ins, but you can surely do it in Netbeans. Here is how.

Official page of Netbeans UML Plugin.

甜警司 2024-10-10 14:38:04

我见过的最好的逆向工程是 EclipseUML Omondo。

您可以使用 Eclipse 3.3 并在 30 天内测试 EclipseUML 构建:
请参阅下载页面:http://www.ejb3.org/download_studio_eclipse_3.3.html
这是足够的时间来从现有代码创建类图和序列图。

The best reverse engineering that I have ever seen is EclipseUML Omondo.

You can use the Eclipse 3.3 and test during 30 days the EclipseUML build:
See dowload page at: http://www.ejb3.org/download_studio_eclipse_3.3.html
This is Plenty of time enough to create class and sequence diagrams from existing code.

甜宝宝 2024-10-10 14:38:04

请参阅这篇文章: http://java.dzone.com/articles/reverse -engineer-source-code-u

我认为它准确地描述了您需要的内容。

See this article: http://java.dzone.com/articles/reverse-engineer-source-code-u

I think it describes exactly what you need.

荒路情人 2024-10-10 14:38:04

尝试 MoDisco Eclipse 插件

Try the MoDisco Eclipse plugin

零度° 2024-10-10 14:38:04

您可以尝试 Sparx EA 工具:http://www.sparxsystems.com.au/

但是如果有包中的类太多,您可能会得到非常“丑陋”的类图

You can try Sparx EA tool: http://www.sparxsystems.com.au/

But if there is too many classses in a package you may get very "ugly" class diagram

淡看悲欢离合 2024-10-10 14:38:04

您可以使用 UMLgraph: http://www.umlgraph.org/

它为 graphviz 创建输出,该输出将布局不同的阶级。
它被编写为 javadoc 的插件 (doclet)。

You can use UMLgraph: http://www.umlgraph.org/

It creates output for graphviz, which will layout the different clases.
It is written as a plugin (doclet) for javadoc.

醉南桥 2024-10-10 14:38:04

您可以尝试tags2uml,它接受ctags生成的标签文件,并生成一个DOT文件,该文件可以由GraphViz转换为UML类图: https://github.com/ruben2020/tags2uml

You can try tags2uml, which takes in a tags file produced by ctags, and produces a DOT file which can be transformed by GraphViz into a UML class diagram: https://github.com/ruben2020/tags2uml

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