summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pgf-umlcd/demo/composition.tex
blob: 6c584c254dda43063300c82cdae2f43c72e86d9d (plain)
1
2
3
4
5
6
7
8
9
10
\begin{tikzpicture}[show background grid]
  \begin{class}{Company}{0,0}
  \end{class}

  \begin{class}{Department}{10,0}
  \end{class}

  \composition{Company}{theDepartment}{1..*}{Department}

\end{tikzpicture}