Search code examples
intellij-ideaintellij-plugin

IntelliJ UML plugin show two relations shows two UML relations for the same class dependency


I recently installed IntelliJ IDEA Ultimate version 2021.2 and I want to use the built-in UML plugin to generate a class diagram, when I generate the UML diagram using CTRL + ALT + SHIFT + U it shows two UML relations for the same class dependency. I previously worked with the IntelliJ UML plugin, I think it is version 2020.x and I didn't encounter this problem.

you will find screenshots for my code and the UML diagram that has been generated.

first class :

enter image description here

second class:

enter image description here

UML diagram:

enter image description here

Should it work like this in this new version of IntelliJ or it's a bug?


Solution

  • Try disabling the Settings (Preferences on macOS) | Tools | Diagrams | Java Classes | Dependencies | Show Usages option.