Reputation: 17631
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
Reputation: 51
Using 9th icon from left side of image ,we can show relationships between classes.
This option is only available in Intelij ultimate edition.
Upvotes: 0
Reputation: 2605
In order to see these relationships you have to right click in the diagram and select "Show Edge Labels".
This works in IntelliJ IDEA 2021.1.1 (Ultimate Edition), April 30, 2021
Upvotes: 0
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