6

I'm getting started with IDEA and new project. I want to see the whole project's class diagram. I searched, and it says on SO that I have to

click Diagrams > Show Diagram (Ctrl+Alt+Shift+U). You will see your package in diagram editor.

but I only see one box for the whole module. But I want to see all classes, relationship between them etc. How do I do this?

enter image description here

I'm using the latest version of IDEA Ultimate: 2017.3

Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
avs099
  • 10,937
  • 6
  • 60
  • 110

1 Answers1

4

When invoked on the whole Project - it builds the diagram for the modules, not for classes. To have the Java class diagram invoke show diagram action on a specific package or if you want to see all the packages and classes in project invoke it on a module's source root. To expand a package (show it's content), select it and invoke "Expand" (E default shortcut) action.

Andrey
  • 15,144
  • 25
  • 91
  • 187