summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/pgf-umlcd/demo/aggregation.tex
blob: 5de8da63f27febe462e1be388b1807a8f9c1121e (plain)
1
2
3
4
5
6
7
8
9
10
\begin{tikzpicture}[show background grid]
  \begin{class}{Car}{0,0}
  \end{class}

  \begin{class}{Wheel}{7.5,0}
  \end{class}

  \aggregation{Car}{wheels}{4}{Wheel}

\end{tikzpicture}