Intellij java class diagram, arrows between classes

I use Intellij to create class diagrams from my Java code. I am very pleased with this.

When I click Show Dependencies, I get straight arrows between classes.

enter image description here

Then I click "Apply Current Layout (F5)", everything is fine reorganized with arrows, not straight lines, and carefully bypasses the classes

enter image description here

However, each time the chart is redrawn, the arrows go straight again. I need to click "Apply Current Layout (F5)" again to make their angle again, which also reduces the scale of the chart, which is pretty annoying ...

Is there a way to keep the arrows at an angle after redrawing the chart?

Using IntelliJ 14.1.4 on Linux, build IU-141.1532

+7
java intellij-idea diagram
source share
1 answer

I myself worked on this problem. The solution is easy. File-> Settings → (search for “diagrams”) → check the box “Fit content after layout”

enter image description here

This only preserves the diagramm class layout, the dependencies are still straightforward, and there is no way to change their behavior.

+1
source share

All Articles