summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/pgf-umlcd/demo/multiple-inheritance.tex
blob: d97c5140ef893c2d4b2d9a7514813ec9d440494e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
\begin{tikzpicture}%[show background grid]
    \begin{class}[text width = 2cm]{TArg}{0, 0}
    \end{class}

    \begin{class}[text width = 2cm]{TGroup}{5, 0}
    \end{class}

    \begin{class}[text width = 2cm]{TProgInit}{10, 0}
    \end{class}

    \begin{class}[text width = 2cm]{TProgram}{5, -2}
        \inherit{TProgInit}
        \inherit{TGroup}
        \inherit{TArg}
    \end{class}
\end{tikzpicture}