Thursday, September 15, 2005

UML Sequence Diagram Generator

First beta of my Declarative UML Sequence Diagram Generator available. It supports:
  • 100% Java (Java 5)
  • LifeLines with full activation lines
  • Messages (Sync, Async, Data Mapping, Self Call)
  • Embeddable frames (including split frames)
  • Multiple page ouput (set the aspect ratio and multiple pages will be generated, with lifeline headers)
  • HTML image map support (outputs full HTML image map for any element on the diagram)
  • API works in headless mode, comes with example to dynamicly generate images from within a servlet
  • Fast(ish) - generates a image with 10 lifelines an 100 messages in under a second
At the moment the generator is only available from a simple Java API. I'm going to add support for a XML syntax to drive this in the next version.

Why did I write this? I wanted to generate run time diagrams of Enterprise Intergrations but could not find a suitable tool. The only pure Java implementation I found that came close was this tool from Alex Moffat
. Whilst it did not meet my requirements - it inspired me to write this implementation.

Click on the image for a better view. The images below are for the same diagram as above, except the aspect ratio for the output was set to 297:210 (landscape A4).

Page 1:
Page 2:



Site Meter