从 umbrello 中的 Java 代码自动创建类图? [英] Automagically create class diagram from java code in umbrello?

查看:22
本文介绍了从 umbrello 中的 Java 代码自动创建类图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我能够将 Java 代码导入 umbrello.

但是,如何自动生成类图?也许 umbrello 没有这个功能.

解决方案

来自 手册:

请注意,Umbrello UML Modeller 不会创建任何类型的图表来显示您的类,它们只会被导入到您的模型中,以便您以后可以在您想要的任何图表中使用它们.>

完成此操作后,看起来您只需将项目拖放到类图上,它甚至会为您连接它们.

I was able to import the java code into umbrello.

However, how can I generate the class diagram automagically? Perhaps umbrello does not have that feature.

解决方案

From the handbook:

Note that Umbrello UML Modeller will not create any kind of Diagram for showing your classes, they will only be imported into your Model so that you can use them later in any diagram you want.

Once you've done that, it looks like you just drag and drop the items onto the class diagram and it even connects them for you.

这篇关于从 umbrello 中的 Java 代码自动创建类图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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