diff --git a/index.html b/index.html
index b37f7df..ac7ca46 100644
--- a/index.html
+++ b/index.html
@@ -57,7 +57,7 @@ You only specify the details you want to appear on the graph.
If you wish your (Java) implementation to evolve together with the
design feel free to include code or additional details.
You can hide these details from the UML diagram using the javadoc
-@hide tag applied to classes, methods, and fields.
+@hidden tag applied to classes, methods, and fields.
In theory you can also use UMLGraph to reverse engineer existing
Java code.
Note however that UMLGraph is not designed for this purpose;
@@ -163,6 +163,14 @@ visibility (private, public, protected)
-operations
-visibility
-types
+
Since the options are really a part of the generated graph you
@@ -178,6 +186,11 @@ of a class named UMLOptions, as in the following example:
class UMLOptions {}
+You can also change the UMLGraph operation on a per-class basis by
+using @opt attributes on individual classes.
+In this case the @opt specification temporarily overrides
+the particular global setting for the class being processed.
+
Download the declarative specification, the generated dot code.
+
+
+/**
+ * @opt nodefillcolor "#a0a0a0"
+ * @hidden
+ */
+class UMLOptions{}
+
+/**
+ * @composed - - - Red
+ * @composed - - - Green
+ * @composed - - - Blue
+ * @opt attributes
+ * @opt visibility
+ * @opt types
+ */
+class Pixel {
+ private int x, y;
+ public void setColor(ColorValue v) {}
+}
+
+/** @opt nodefillcolor red */
+class Red {}
+
+/** @opt nodefillcolor green */
+class Green {}
+
+/** @opt nodefillcolor blue */
+class Blue {}
+
+/** @hidden */
+class ColorValue{}
+
+ |
+
+ |
Diomidis Spinellis home page
diff --git a/web/index.html b/web/index.html
index b37f7df..ac7ca46 100644
--- a/web/index.html
+++ b/web/index.html
@@ -57,7 +57,7 @@ You only specify the details you want to appear on the graph.
If you wish your (Java) implementation to evolve together with the
design feel free to include code or additional details.
You can hide these details from the UML diagram using the javadoc
-@hide tag applied to classes, methods, and fields.
+@hidden tag applied to classes, methods, and fields.
In theory you can also use UMLGraph to reverse engineer existing
Java code.
Note however that UMLGraph is not designed for this purpose;
@@ -163,6 +163,14 @@ visibility (private, public, protected)
-operations
-visibility
-types
+
Since the options are really a part of the generated graph you
@@ -178,6 +186,11 @@ of a class named UMLOptions, as in the following example:
class UMLOptions {}
+You can also change the UMLGraph operation on a per-class basis by
+using @opt attributes on individual classes.
+In this case the @opt specification temporarily overrides
+the particular global setting for the class being processed.
+
Download the declarative specification, the generated dot code.
+
+
+/**
+ * @opt nodefillcolor "#a0a0a0"
+ * @hidden
+ */
+class UMLOptions{}
+
+/**
+ * @composed - - - Red
+ * @composed - - - Green
+ * @composed - - - Blue
+ * @opt attributes
+ * @opt visibility
+ * @opt types
+ */
+class Pixel {
+ private int x, y;
+ public void setColor(ColorValue v) {}
+}
+
+/** @opt nodefillcolor red */
+class Red {}
+
+/** @opt nodefillcolor green */
+class Green {}
+
+/** @opt nodefillcolor blue */
+class Blue {}
+
+/** @hidden */
+class ColorValue{}
+
+ |
+
+ |