Wednesday, April 2, 2014

plantuml : quick UML diagrams (with Eclipse plugin available)

Follow installation instructions here:

you MUST install Grephvz 2.28 (NOT 2.30, it will not work)
I installed to C:\pierre\Graphviz 2.28\

Then you must declare the environment variable GRAPHVIZ_DOT=C:\pierre\Graphviz 2.28\bin\dot.exe

Then copy the  plantuml.jar to a folder c:\pierre\plantuml

Then open a new CMD window, cd c:\pierre\plantuml,  and run:
java -jar plantuml.jar -testdot 
It should show success. If not, scream.

At this point you can run "java -jar plantuml.jar" and if you place any .pu file in the c:\pierre\plantuml folder, it shall be converted to a png file.

try this:

Object <|-- ArrayList

you should get this:

Pretty simple.... but don't expect it to compete with a Rational Rose....

More on UML Class Diagrams:

No comments: