2

I have been playing around with a few various UML tools- Enterprise Architect, Visual Paradigm; in the end I found Intellij IDEA good enough for producing quick UML class diagrams.

However, I found creating UML object diagrams quite fiddly in EA and VP. I was wondering if there was anything out there that could reverse engineer some simple java code that creates some class instances - then create UML Object Diagrams from this?

Sled
  • 18,541
  • 27
  • 119
  • 168
Andrew B
  • 1,618
  • 2
  • 21
  • 30

5 Answers5

3

We use UmlGraph embedded into a maven build, so we get graphs in the generated javadoc.

biziclop
  • 48,926
  • 12
  • 77
  • 104
  • As far as I understand, you can't use UMLGraph to generate a diagram from Java code. Am I wrong? – Jonathan Dec 11 '11 at 14:54
  • 1
    @Jonathan It definitely works for me. Here's an example of how to set it up: http://maven.apache.org/plugins/maven-javadoc-plugin/examples/alternate-doclet.html – biziclop Dec 11 '11 at 14:59
1

You should explore ObjectAid, it has an eclipse plugin as well.

Scorpion
  • 3,938
  • 24
  • 37
0

There's a plugin for eclipse called AmaterasUML that does a nice job on a hand full of source files. It's not very useful for long term documentation but for quick and dirty "what's this package do?" it rocks.

Chris Nava
  • 6,614
  • 3
  • 25
  • 31
0

Why not try Star UML.. its free and very easy to use..

http://staruml.sourceforge.net/en/

sethu
  • 8,181
  • 7
  • 39
  • 65
0

You can use the 30 days evaluation licence and create all needed diagrams for documentation. No need to purchase if you save diagrams as image and paste and copy them into your documentation. Just unzip and it works.

The build is available at: http://www.uml2.org/eclipse-java-galileo-SR2-win32_eclipseUML2.2_package_may2010.zip

ChrisF
  • 134,786
  • 31
  • 255
  • 325
UML GURU
  • 1,452
  • 1
  • 9
  • 7