summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pgf-umlcd/demo/composition.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/pgf-umlcd/demo/composition.tex')
-rw-r--r--Master/texmf-dist/doc/latex/pgf-umlcd/demo/composition.tex10
1 files changed, 10 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pgf-umlcd/demo/composition.tex b/Master/texmf-dist/doc/latex/pgf-umlcd/demo/composition.tex
new file mode 100644
index 00000000000..6c584c254dd
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/pgf-umlcd/demo/composition.tex
@@ -0,0 +1,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} \ No newline at end of file