UMLGraph facilitates the declarative specification and drawing of UML class and sequence diagrams. One can specify a class design using the Java syntax complemented by Javadoc tags. Running the UmlGraph doclet on the specification generates a Graphviz diagram specification that can be automatically processed to create Postscript, GIF, SVG, JPEG, fig, or Framemaker drawings. Similarly, sequence diagrams are specified using declarative pic macros and compiled with the GNU plotutils pic2plot program into a PNG, PNM, (pseudo) GIF, SVG, AI, Postscript, CGM, FIG, PCL, HPGL, Regis, or TEK drawing.
| Tags | multimedia Graphics Editors Vector-Based Software Development Documentation |
|---|---|
| Licenses | BSD Original |
| Implementation | Java |
Recent releases


Changes: This version corrects an exception when a dependency to an unknown class is specified. It also fixes a NullPointerException that occurred when no global options are available. It also corrects the case of the tools.jar filename in the umlgraph shell script.


Changes: This version has active classes appearing with a double vertical border as required by UML2, two new class diagram options that control the node and rank separation of the nodes in generated diagram layout, support for showing a class's title as a tooltip in image files, and an option for generating Javascript-collapsible UML diagrams in Javadoc files.


Changes: This new version adds support for six new shapes: node, component, package, collaboration, use case, and active class. It also allows the annotation of class diagram nodes through comments. These options require GraphViz 2.16. Another option allows the placing of arbitrary text in class diagram boxes.


Changes: This version offers improved invocation scripts and corresponding documentation on installing and invoking UmlGraph. In addition, the code and test data is now compatible with Java 6, and the -noguillemot option now follows the current GraphViz escaping conventions.


Changes: This version improves its invocation interface so that it can be run directly as a jar file. It has support for sending results to the standard output for direct piping into dot. The distribution includes an example shell script and batch file for invoking UMLGraph.
- All comments
Recent commentsLots of warnings.
Any reason why I am getting thousands of warnings of the form:
javadoc: warning - Warning: illegal attribute balign in <TD> - ignored
when using the doclet.
HTML labels
Firstly congratulations to the developer, this is such a useful
tool.
My only issue is that I open the dot files in OmniGraffle which
doesn't support html formatting for labels. Is there any way to
turn off html for labels?
Really cool tool
I would like to congratulate the developers on making such a cool tool. The concept of declarative diagramming is simply cool.
Also I would like to know whether there are any plans of using this tool to reverse engineer seuence diagrams.
spacing between objects in sequence diagrams
I have some cases where there is too little space between objects. According to the documentation, the movewid variable should help. However, sequence.pic (version 4.8 and earlier) obviously is not using movewid at all. Does anybody have a solution?
Re: Issues with spacing variable in sequence diagrams
Sorry, the text got garbled. One more try:
.fam H # font family Helvetica
.ft R # font type Roman
.ps 6 # font size 6
.PS
copy "sequence.pic";
...