From c2a24c9d416d8c25d1c0fea706aabfb4313a4061 Mon Sep 17 00:00:00 2001 From: Diomidis Spinellis Date: Fri, 28 Sep 2007 13:50:03 +0000 Subject: [PATCH] Update invocation instructions. --- doc/faq.xml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/doc/faq.xml b/doc/faq.xml index 4be8740..7ec17cf 100644 --- a/doc/faq.xml +++ b/doc/faq.xml @@ -33,18 +33,12 @@ To update the table of contents execute the following vim command from a registe Assuming that you diagram's description is in the file Diag.java, issue the command: +umlgraph Diag png java -jar path-to/UmlGraph.jar -package -output - Diag.java | dot -Tpng -oDiag.png Diag.dot -or - -javadoc -docletpath path-to/UmlGraph.jar -package -doclet gr.spinellis.umlgraph.doclet.UmlGraph -output Diag.dot Diag.java -dot -Tpng -oDiag.png Diag.dot - In the above you can change png to another file format, -and add more UMLGraph switches before the -option switch. +and add more UMLGraph switches at the end of the line.

-Note that the first format requires the file tools.jar -to be in the same directory as UmlGraph.jar.

Why are the SVG diagrams dot generates malformed?