From bca022de5b390bb6bd391fc6dfb7ec9d1ecc5c98 Mon Sep 17 00:00:00 2001 From: Andrea Aime Date: Sat, 18 Feb 2006 11:07:33 +0000 Subject: [PATCH] New options documentation, a sample on font usage, updated release notes. --- doc/cd-opt.xml | 26 +++++++++++++++++++++++++ doc/ceg-color.xml | 47 +++++++++++++++++++++++++++++++++++++++++++++- doc/index.xml | 2 +- doc/style.png | Bin 0 -> 3412 bytes doc/ver.xml | 4 ++++ 5 files changed, 77 insertions(+), 2 deletions(-) create mode 100644 doc/style.png diff --git a/doc/cd-opt.xml b/doc/cd-opt.xml index d9334ca..e054b71 100644 --- a/doc/cd-opt.xml +++ b/doc/cd-opt.xml @@ -52,6 +52,23 @@ inside abstract class nodes.
-nodefontsize
Specify the font size to use inside nodes.
+
-nodefontclassname
Specify the font name to use for the class names. +
+
-nodefontclassabstractname
Specify the font name use for the +class name of abstract classes. +
+
-nodefontclasssize
Specify the font size to use for the class names. +
+
-nodefonttagname
Specify the font name to use for the tag names. +
+
-nodefonttagsize
Specify the font size to use for the tag names. +
+
-nodefontpackagename
Specify the font name to use for the package +names (used only when it package name is postfixed, see -postfixpackage). +
+
-nodefontpackagesize
Specify the font size to use for the package +names (used only when it package name is postfixed, see -postfixpackage). +
-nodefontcolor
Specify the font color to use inside nodes.
-edgefontname
Specify the font name to use for edge labels. @@ -64,6 +81,10 @@ inside abstract class nodes.
-bgcolor
Specify the graph's background color.
+
-postfixpackage
When using qualified class names, put the +package name in the line after the class name, in order to reduce the +width of class nodes. +
-hide
Specify entities to hide from the graph. Matching is done using a non-anchored regular match. For instance, "-hide (Big|\.)Widget" would hide "com.foo.widgets.Widget" and @@ -124,6 +145,11 @@ be used to denote special terms like "interface" and stereotype names. This is used on some platforms to circumvent problems associated with displaying non-ASCII characters.
+
-compact
Generate compact dot files, that is, print html labels +in a single line instead of "pretty printing" them. Useful if the dot file +has to be manipulated by an automated tool (e.g., the UMLGraph regression +test suite). +

All colors can be either a symbolic name (e.g. blue), diff --git a/doc/ceg-color.xml b/doc/ceg-color.xml index ab78e66..c81648f 100644 --- a/doc/ceg-color.xml +++ b/doc/ceg-color.xml @@ -43,5 +43,50 @@ class ColorValue{} UML diagram demonstrating the use of colors - + + + +package net.sf.whatever.test; + +/** + * @hidden + * @opt postfixpackage + * @opt edgefontname arialbd + * @opt nodefontname arial + * @opt nodefontsize 9 + * @opt nodefontabstract ariali + * @opt nodefontclassname arialbd + * @opt nodefontclassabstractname arialbi + * @opt nodefonttagsize 6 + * @opt nodefonttagname ariali + * @opt nodefontpackagesize 8 + * @opt operations + * @opt attributes + * @opt qualify + * @opt types + */ +class UMLOptions{} + +/** + * @stereotype base + * @tagvalue since 1.0 + */ +abstract class AbstractBase { + /** @tagvalue since 1.5 */ + private int field; + public abstract void abstractMethod(); + public int concreteMethod() { return 1; } +} + +/** + * @composed 1 has * from.Outer.Space.AlienClass + */ +class Composite extends AbstractBase {} + +public class Style extends AbstractBase {} + + +UML diagram demonstrating the use of fonts + + diff --git a/doc/index.xml b/doc/index.xml index 221dae2..83fabde 100644 --- a/doc/index.xml +++ b/doc/index.xml @@ -15,7 +15,7 @@ Class Diagram Example: Association Typesceg-at Class Diagram Example: Real Example (Catalina Classes)ceg-cat Class Diagram Example: Class Stereotypes and Tagged Valuesceg-ster -Class Diagram Example: Colors, Global and Local Optionsceg-color +Class Diagram Example: Fonts, Colors, Global and Local Optionsceg-color Class Diagram Example: Multiple Views Through Command-Line Optionsceg-mv Class Diagram Example: Inner support for viewsceg-view-spec Class Diagram Example: Views With Different Specification Detailsceg-view-details diff --git a/doc/style.png b/doc/style.png new file mode 100644 index 0000000000000000000000000000000000000000..b87f395df81634fd6cfc5cdf07716061283540c2 GIT binary patch literal 3412 zcmZu!c{J4R7iVk{DKouU$`Xx;%w~xgWcOugR48ODW6x44VIoUon?lSqhNu~pB1?p# zSH{*@N4C;riELSuZTRW^o%fvIAHP4Id+vSiJ@?-8JfG(|pG&l}H5U_+7UALH5wo-~ zIm^Stdu(?F^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