From 49a3f570bf04ea3c81129257f2818d0d5a812ddc Mon Sep 17 00:00:00 2001 From: Diomidis Spinellis Date: Mon, 5 Oct 2015 15:14:30 +0300 Subject: [PATCH] Document package diagram generation --- doc/cd-oper.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/cd-oper.xml b/doc/cd-oper.xml index 5fdbe3c..e0c1bf1 100644 --- a/doc/cd-oper.xml +++ b/doc/cd-oper.xml @@ -72,6 +72,14 @@ Example: java -jar /usr/jvm/java-1.5.0/lib/UmlGraph.jar -private Simple.java

+To generate a diagram of all classes in the package specify as arguments +to the Java invocation the name of the package and the directory where +it resides. +The following example generates a diagram of all UMLGraph classes. + +java -classpath ... org.umlgraph.doclet.UmlGraph -sourcepath src/main/java org.umlgraph.doclet + +

Specifying some packages before the list of source files will designate those packages as local. When you specify a package list,