Alexis Pavlidis
Alexis Pavlidis

Reputation: 1080

How to generate UML diagram with components and classes in IntelliJ?

I am trying to create a UML diagram from a package which contains packages. The problem is that when I click Java Class Diagrams on the SRP package the UML generated shows me the packages names only and not the classes inside them or the dependencies between those packages.

enter image description here

Is it possible to generate a UML diagram that contains all the classes for the SRP package and the dependencies between them?

I am using IntelliJ IDEA 2019.2.4 (Ultimate Edition)

Upvotes: 1

Views: 2421

Answers (2)

Nguyen Tran Nhat Vu
Nguyen Tran Nhat Vu

Reputation: 25

I have the same problem today, I know this question is 2 years ago, but you can show classes inside a package by right click => Expand Nodes (E)

Image

Upvotes: 2

Tanvir Ahmad Shaikh
Tanvir Ahmad Shaikh

Reputation: 11

Right click on the package in the diagram and click "Show Dependencies".

Hope you find this useful. Have a lovely day !

Upvotes: 0

Related Questions