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 0000000..b87f395 Binary files /dev/null and b/doc/style.png differ diff --git a/doc/ver.xml b/doc/ver.xml index c2f1bbd..2aabee9 100644 --- a/doc/ver.xml +++ b/doc/ver.xml @@ -7,6 +7,10 @@