summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pgf-umlcd/demo/class.tex
blob: 4ba13254a429945f798920adbe1d8b2f55ef6352 (plain)
1
2
3
4
5
6
7
8
9
10
\begin{tikzpicture}
  \begin{class}[text width=8cm]{ClassName}{0,0}
    \attribute{name : attribute type}
    \attribute{name : attribute type = default value}

    \operation{name(parameter list) : type of value returned}
    % virtual operation
    \operation[0]{name(parameters list) : type of value returned}
  \end{class}
\end{tikzpicture}