Kannan Ekanath
Kannan Ekanath

Reputation: 17631

Intellij UML diagram does not show one to many relationships

I am trying to follow http://www.jetbrains.com/idea/features/uml_class_diagram.html I have a few classes so when I do Ctrl + Alt + U I only see all classes and just Extends relationships.

Please note that I have set the "Diagrams" options in my settings to show one to many etc.

Can someone please explain?

Upvotes: 1

Views: 4478

Answers (3)

S G
S G

Reputation: 51

Using 9th icon from left side of image ,we can show relationships between classes. Image

This option is only available in Intelij ultimate edition.

Upvotes: 0

Spyros K
Spyros K

Reputation: 2605

In order to see these relationships you have to right click in the diagram and select "Show Edge Labels".

Selected Show Edge Labels in Intelij

This works in IntelliJ IDEA 2021.1.1 (Ultimate Edition), April 30, 2021

Upvotes: 0

Kannan Ekanath
Kannan Ekanath

Reputation: 17631

Actually it appears there is a "Show Dependencies" icon. Toggling that and toggling it again actually shows my relationships one to one, one to many etc

Upvotes: 3

Related Questions