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?