使用IntelliJ生成类图 [英] Use IntelliJ to generate class diagram

查看:224
本文介绍了使用IntelliJ生成类图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何获取IntelliJ 10.5(在Mac上)生成一个显示项目中所有类的类图?我确定我忽略了一些明显的东西,但我只能得到显示图表功能,一次显示一个类。 (我也想出了如何添加其他类,但同样,一次只能添加一个。)

How do I get IntelliJ 10.5 (on the Mac) to generate a class diagram showing all of the classes in my project? I'm sure I'm overlooking something obvious, but I can only get the "Show Diagram" feature to show one class at a time. (I also figured out how to add additional classes, but again, only one at a time.)

推荐答案

使用图表 | 从包的上下文菜单中显示图。在项目根目录上调用它将显示模块依赖关系图。

Use Diagrams | Show Diagram from the context menu of a package. Invoking it on the project root will show module dependencies diagram.

如果您需要多个包,可以将它们拖放到已打开的第一个包的图表中并按 e 展开它。

If you need multiple packages, you can drag&drop them to the already opened diagram for the first package and press e to expand it.

注意:此功能在Ultimate Edition中提供,而不是免费的Community Edition 。

Note: This feature is available in the Ultimate Edition, not the free Community Edition.

这篇关于使用IntelliJ生成类图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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