New options documentation, a sample on font usage, updated release notes.

This commit is contained in:
Andrea Aime 2006-02-18 11:07:33 +00:00
parent 14c71ffd5a
commit bca022de5b
5 changed files with 77 additions and 2 deletions

View File

@ -52,6 +52,23 @@ inside abstract class nodes.
</dd>
<dt>-nodefontsize</dt><dd>Specify the font size to use inside nodes.
</dd>
<dt>-nodefontclassname</dt><dd>Specify the font name to use for the class names.
</dd>
<dt>-nodefontclassabstractname</dt><dd>Specify the font name use for the
class name of abstract classes.
</dd>
<dt>-nodefontclasssize</dt><dd>Specify the font size to use for the class names.
</dd>
<dt>-nodefonttagname</dt><dd>Specify the font name to use for the tag names.
</dd>
<dt>-nodefonttagsize</dt><dd>Specify the font size to use for the tag names.
</dd>
<dt>-nodefontpackagename</dt><dd>Specify the font name to use for the package
names (used only when it package name is postfixed, see -postfixpackage).
</dd>
<dt>-nodefontpackagesize</dt><dd>Specify the font size to use for the package
names (used only when it package name is postfixed, see -postfixpackage).
</dd>
<dt>-nodefontcolor</dt><dd>Specify the font color to use inside nodes.
</dd>
<dt>-edgefontname</dt><dd>Specify the font name to use for edge labels.
@ -64,6 +81,10 @@ inside abstract class nodes.
</dd>
<dt>-bgcolor</dt><dd>Specify the graph's background color.
</dd>
<dt>-postfixpackage</dt><dd>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.
</dd>
<dt>-hide</dt><dd>Specify entities to hide from the graph.
Matching is done using a non-anchored regular match.
For instance, "<code>-hide (Big|\.)Widget</code>" would hide "<code>com.foo.widgets.Widget</code>" 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.
</dd>
<dt>-compact</dt><dd>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).
</dd>
</dl>
<p />
All colors can be either a symbolic name (e.g. blue),

View File

@ -43,5 +43,50 @@ class ColorValue{}
</fmtcode>
</td><td>
<img src="color.gif" alt="UML diagram demonstrating the use of colors" />
</td></tr></table>
</td></tr>
<tr><td>
<fmtcode ext="java">
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 {}
</fmtcode>
</td><td>
<img src="style.png" alt="UML diagram demonstrating the use of fonts" />
</td></tr>
</table>
</notes>

View File

@ -15,7 +15,7 @@
<ch><ti>Class Diagram Example: Association Types</ti><fi>ceg-at</fi></ch>
<ch><ti>Class Diagram Example: Real Example (Catalina Classes)</ti><fi>ceg-cat</fi></ch>
<ch><ti>Class Diagram Example: Class Stereotypes and Tagged Values</ti><fi>ceg-ster</fi></ch>
<ch><ti>Class Diagram Example: Colors, Global and Local Options</ti><fi>ceg-color</fi></ch>
<ch><ti>Class Diagram Example: Fonts, Colors, Global and Local Options</ti><fi>ceg-color</fi></ch>
<ch><ti>Class Diagram Example: Multiple Views Through Command-Line Options</ti><fi>ceg-mv</fi></ch>
<ch><ti>Class Diagram Example: Inner support for views</ti><fi>ceg-view-spec</fi></ch>
<ch><ti>Class Diagram Example: Views With Different Specification Details</ti><fi>ceg-view-details</fi></ch>

BIN
doc/style.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -7,6 +7,10 @@
<ul>
<li> Correct the handling of qualified class names following
the extends keyword (Arnaud Rogues).</li>
<li> Now using HTML labels in dot files. This allows for a different font
in each row of the class nodes. Added options
to control fonts for class names, packages and tags. (Andrea Aime)
</li>
<li> Relationship inference support. When enabled UMLGraph will try to
compute relationships and dependecies by field/method/import
statements examination. (Andrea Aime)