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?

HappyCoder86
  • 2,267
  • 3
  • 25
  • 40

3 Answers3

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

HappyCoder86
  • 2,267
  • 3
  • 25
  • 40
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
ROMANIA_engineer
  • 54,432
  • 29
  • 203
  • 199
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.

cb4
  • 6,689
  • 7
  • 45
  • 57