views:

1627

answers:

6

Is there any good tool or tool-chain that allows UML images in the .svg format to be created from a textual source file? The reason for this question is that I want to automate the generation of these images to avoid having to manually create and update this set of images.

A: 

the free UML tool JUDE allows UML diagrams to be created from Java source code. I don't know if it does for other languages.

Jorn
+3  A: 

UMLGraph is a program for generating UML diagrams (primarily Class Diagrams and Sequence Diagrams) from text based descriptions. It is intended to be used with java source code, but with some alterations, C++ style source code can also be used as described by this blog entry.

Quote from the UMLGraph website:

The GNU plotutils pic2plot program can then process the sequence diagram to create a PNG, PNM, (pseudo)GIF, SVG, AI, Postscript, CGM, FIG, PCL, HPGL, Regis, or TEK drawing.

J c
+3  A: 

Hi,

I've created a list of tools that accept a textual model description as input here:

http://modeling-languages.com/blog/content/textual-notationslanguages-define-uml-models-list-tools

Jordi

Jordi Cabot
+1  A: 

Enterprise Architect does quite a good job in creating diagrams automatically, from source code (in various languages) as well as from databases or other sources.

Roberto Liffredo
A: 

See Reverse Java. This is a wonderful tool to generate UML diagrams from Java application . You just have to run your application and sit back, reverse java runs in background,tracing all the events and finally generates Sequence diagram for you. It creates an HTML file as an output through which you can export the diagram as PDF or as an Image. We tried it for our project it worked wonderfully well for us. You can get in touch with there support team if you want to generate UML from text files instead of source code

Rajesh Jadhav
A: 

See EasyUML Editor. It is a nice Web based UML Editor which converts Text to all types of UML diagram. As EasyUML is web based, it can be accesed over the network and hence it is a nice tool to share your Designs. You can also export UML diagrams as PDF, PNG and SVG format.

Rajesh Jadhav