Use IntelliJ to generate class diagram

Zack picture Zack · Jan 20, 2012 · Viewed 203.7k times · Source

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.)

Answer

CrazyCoder picture CrazyCoder · Jan 20, 2012

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

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.

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