====== UML Diagram Tools ======
This is really cool: http://www.umldesigner.org/ref-doc/define-the-system.html#Dashboard
Eclipse plugin. Goto marketplace and look for uml designer.
* Create new uml project
* Select model
* Finish, then a model.uml file and a dashboard is shown.
====== Generate Diagram From Code ======
===== UmlGraph =====
* http://lightuml.sourceforge.net/
* http://java.dzone.com/articles/reverse-engineer-source-code-u
==== UmlGraph and Maven Javadoc ====
- Install Graphviz. After installation confirm that it is part of your PATH.
- Configure your maven pom files to make sure that you can get to the following repository: http://mirrors.ibiblio.org/pub/mirrors/maven2 because it has the second piece of the puzzle, the binaries for UMLGraph. You can see all the options for use in here.
- To generate UML diagrams as part of the "mvn javadoc:javadoc" command, add the following (+/-) to your pom.xml file's section.
org.apache.maven.plugins
maven-javadoc-plugin
org.umlgraph.doclet.UmlGraphDoc
org.umlgraph
doclet
5.1
-views
target/uml
private
- To generate UML diagrams as part of the "mvn site" command, add the following (+/-) to your pom.xml file's section.
org.apache.maven.plugins
maven-javadoc-plugin
2.8.1
uml
org.umlgraph.doclet.UmlGraphDoc
org.umlgraph
umlgraph
5.6.6
-views -constructors
false
target/uml
private
javadoc
- Run mvn site
- That's it, you should now be reaping the benefits as your javadocs will have UML diagrams inside each class's landing page. I used the following post to put all this info together: http://wiki.wsmoak.net/cgi-bin/wiki.pl?UMLGraph
=== Options ===
http://www.umlgraph.org/doc/cd-opt.html