Java code that creates UML diagrams

I am creating a program that will reverse engineer Java source code into a UML class diagram. I read all method names, etc. Already from the source code, but I wonder if there are built-in Java methods for creating UML, for example:

UMLdiagram u = new UMLdiagram(); Class c = new Class(); u.addClass(c); 

Is there anything similar or are there any external tools that I could use to help draw a UML diagram, given that I already know the methods, class attribute names, etc.

0
source share
1 answer

Take a look at http://en.wikipedia.org/wiki/List_of_Unified_Modeling_Language_tools .

Some of the tools listed are in Java, some are open source, and some can create UML diagrams in XMI format.

If you want something easy, then Doxygen, together with Graphviz, can either restore the Java source code or automatically generate class diagrams using UML_LOOK

0
source

All Articles