#########################################################################################
## This is a template for the 'using' or 'with' parser, to create UML class diagrams.
#########################################################################################
##
## For UML, see http://en.wikipedia.org/wiki/Class_diagram
## For Graphviz, see http://www.graphviz.org/Documentation.php
##
## The 'using' parser is deprecated, please use 'with' instead.
## See http://ten.homelinux.net/productivity/MoinMoin_Extensions#head-733f7f9972cd7777dea0b48375ef3cadcdcaeb81
##
#########################################################################################
## Preprocessor directives for the 'using' MoinMoin parser
#define CLASS(name,attributes,operations) "name" [tooltip="name" label="{name | attributes | operations}" shape=record]
#define RELATION [arrowhead=onormal]
#define DEPENDENCY(verb) [arrowhead=vee style=dashed label="<<verb>>"]
#define ASSOCIATION(verb,card1,att1,card2,att2) [arrowhead=none, taillabel="card1 \\n att1", headlabel="card2 \\n att2" minlen=2 labeldistance=2]
#define AGGREGATION(card1,card2) [arrowhead=odiamond, taillabel="card1", headlabel="card2"]
#define COMPOSITION(card1,card2) [arrowhead=diamond, taillabel="card1", headlabel="card2"]
{\{\{#!dot bgcolor=white
## see http://www.graphviz.org/ for dot information
## see http://www.graphviz.org/pub/scm/graphviz2/doc/info/colors.html for color names
digraph G {
rankdir=BT
ratio=fill
node [fontsize=10 fontname=helvetica style=filled fillcolor=white shape=rectangle]
edge [fontsize=9 fontname=helvetica decorate=false]
graph [fontsize=11 color=gray]
// Sensible Graphviz attributes
edge [arrowhead=onormal] // defaulting to RELATION
// Default colors. Can be redefined at any point. See http://www.graphviz.org/doc/info/colors.html
node [fillcolor=khaki1]
edge [color=gray]
#yield
}
}\}\}