Pages

Saturday, April 28, 2012

UML diagrams from the command line

I think I found a nice tool for my Groovy Cheminformatics book! And for Java documentation in general :) There are various tools to draw UML diagrams, such as umbrello, but the XMI format it uses is not easily edited from the command line, or included in books as source...

But I recently ran into UMLGraph on StackOverflow. I gave it a quick try but could not figure out how to get interfaces to show up. But Bob Cross pointed me to the right example: