Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enterprise Architect: Export UML Diagrams in high quality

With Enterprise Architect (Version 9.2), I created some Class and Sequence UML Diagrams. Now I need those Diagrams in a Word document.

My first approach was to just cut them out with the Windows 7 Snipping Tool and paste them into the document. But for printing purposes the quality was way too poor.

The second approach was to "Save them as Images" as offered in Enterprise Architect. But with this, the quality was even worse.

The third way was to export them into a pdf file. With this the quality was quite decent and I could import those pdfs into Inkscape and then convert them into *.png files to import them to word. The problem is, that Enterprise Architect kinda fails with the fonts. Meaning the picture itself has high-quality, but it tries to convert the font of the classes and then I have some spaces between letters where there should be none.

So long story short - is there a way to export my UML Diagrams from Enterprise Architect to a common picture format like .png or .tiff, while retaining decent quality?

like image 430
Toby Avatar asked Jun 06 '12 15:06

Toby


People also ask

How do I export a diagram from enterprise architect?

On the 'Save As Image' dialog, select the appropriate folder location for the file. In the 'File name' field, type the file name to save the image under. In the 'Save as type' field, click on the drop-down arrow and select the appropriate graphic format. Click on the Save button.

How do you save a UML diagram as a picture?

Right-click in the diagram and click File > Save as Image File. In the Save as Image File window, in the Folder field, specify where to save the image file. In the File Name field, type a file name. From the Image Format list, select a file format.


2 Answers

As I'm sure you're already aware, you can save a diagram as an image in several formats, including PNG but not TIFF.

The quality of the images can be controlled in the options (Tools - Options), "Diagram" tab. The "Image Memory Limit" controls the amount of memory the image conversion process is allowed; increasing this should improve the quality of large diagrams. "Scale Saved Bitmaps to" allows you to set a higher resolution for the images.

I haven't checked whether these also affect the copy-to-clipboard function (in the Diagram menu or CTRL+B), which is the way I usually copy diagrams into documents.

like image 160
Uffe Avatar answered Nov 04 '22 19:11

Uffe


To have diagrams in word there is very easy way.

Simply, open diagram in ea then select all with CTRL+A, then copy CTRL+C, go in word and just do paste CTRL+V. Easy and perfect quality.

like image 33
Vladan Avatar answered Nov 04 '22 18:11

Vladan