user3804927
user3804927

Reputation: 779

How to disable the auto layout of the IntelliJ IDEA UML Diagram?

I've moved from Eclipse to IntelliJ IDEA and I like the its responsiveness.

In Eclipse I use ObjectAid to assist in designing my application structure. IntelliJ IDEA does have a UML diagram but it got really annoying when it keeps re-adjusting my diagram layout to what it thinks is a neat structure. Everytime I add/remove a class, it will re-adjust the layout. It may look neat, but it makes little sense to me. I like to manually place my class model in the exact place I leave it. Why oh why does IntelliJ think it knows best? Can I change this behavior? I can't find any settings in the settings menu.

Upvotes: 14

Views: 2077

Answers (2)

Pieter De Bie
Pieter De Bie

Reputation: 1212

Unfortunately this functionality is broken and the only way we may see a solution to this is by upvoting this and this issue.

Meanwhile what you can do is add all your required classes first, do the positioning you want, hit F5 to update only the edges and then export your diagram to another format.

Upvotes: 0

Johannes Barop
Johannes Barop

Reputation: 7815

You can disable this behaviour in the preferences under "Tools" -> "Diagrams". There is an option "Do relayout when new elements were added" which you need to disable.

Note: IntelliJ 2016.3

Where to disable the automatic relayout of diagrams in IntelliJ

Upvotes: 2

Related Questions