How Can I Save A Class Diagram In Intellij?
Asked Answered
F

3

12

I discovered that in Intellij I can create nice class diagrams by going to New > Diagram > Java Class Diagram. I can do everything that I want to do, except figure out how to save the diagram after I'm done. When I create a diagram, save it, shut down Intellij, and then start it up again, I see that the diagram that I had just "saved" has reverted to a generic window displaying all of the packages in my project. I realize that I can save the diagam in a PNG format, but I don't want to do that. I want to be able to save it in an editable format? Thoughts?

Farmstead answered 11/6, 2013 at 14:49 Comment(2)
See youtrack.jetbrains.com/issue/IDEA-79046.Scutate
Hmmm... I can't seem to even save it by clicking on the floppy disk save icon. I click it and nothing happens. Is there another save button somewhere?Farmstead
F
21

The top left save disk does nothing. The right save disk will actually save the diagram.

Screen shot showing which save disk to click

Farmstead answered 14/6, 2013 at 17:56 Comment(1)
imo, this is a usability flawJunia
A
2

IntelliJ IDEA 15

A general method (that works when you can't find/remember something)

  • press Ctrl + Shift + A (or go to Help > Find Action)
  • type "Save d" (or just "dia")

    Save diagram

  • double click on the "Save diagram" row
  • select the path where you want to save it > OK
Actomyosin answered 14/1, 2016 at 19:5 Comment(0)
B
0

Update 2022

Click this icon export or right-click a blank spot on the diagram and select Export Diagram. Click Export to File then pick your format.

Bollworm answered 22/5, 2022 at 19:20 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.