Debian Codegraph @

texmf-dist/doc/latex/pgf-umlcd/demo/color.tex

raw
1 \renewcommand{\umltextcolor}{red}
2 \renewcommand{\umlfillcolor}{green}
3 \renewcommand{\umldrawcolor}{blue}
4
5 \begin{tikzpicture}
6 \begin{class}[text width=8cm]{ClassName}{0,0}
7 \attribute{name : attribute type}
8 \attribute{name : attribute type = default value}
9
10 \operation{name(parameter list) : type of value returned}
11 % virtual operation
12 \operation[0]{name(parameters list) : type of value returned}
13 \end{class}
14 \end{tikzpicture}