texmf-dist/doc/latex/pgf-umlcd/demo/multiple-inheritance.tex
raw| 1 | \begin{tikzpicture}%[show background grid] |
| 2 | \begin{class}[text width = 2cm]{TArg}{0, 0} |
| 3 | \end{class} |
| 4 | |
| 5 | \begin{class}[text width = 2cm]{TGroup}{5, 0} |
| 6 | \end{class} |
| 7 | |
| 8 | \begin{class}[text width = 2cm]{TProgInit}{10, 0} |
| 9 | \end{class} |
| 10 | |
| 11 | \begin{class}[text width = 2cm]{TProgram}{5, -2} |
| 12 | \inherit{TProgInit} |
| 13 | \inherit{TGroup} |
| 14 | \inherit{TArg} |
| 15 | \end{class} |
| 16 | \end{tikzpicture} |