diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pgf-umlcd/demo/unidirectional-association.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-umlcd/demo/unidirectional-association.tex | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pgf-umlcd/demo/unidirectional-association.tex b/Master/texmf-dist/doc/latex/pgf-umlcd/demo/unidirectional-association.tex new file mode 100644 index 00000000000..9ea07805b04 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlcd/demo/unidirectional-association.tex @@ -0,0 +1,20 @@ +\begin{tikzpicture} + % \draw[help lines] (-7,-6) grid (6,0); + + \begin{class}[text width=6cm]{OverdrawnAccountsReport}{0,0} + \attribute{generatedOn : Date} + + \operation{refresh ( )} + \end{class} + + \begin{class}{BankAccount}{12,0} + \attribute{owner : String} + \attribute{balance : Dollars} + + \operation{deposit(amount : Dollars)} + \operation[0]{withdrawl(amount : Dollars)} + \end{class} + + \unidirectionalAssociation{OverdrawnAccountsReport}{overdrawnAccounts}{0..*}{BankAccount} + +\end{tikzpicture}
\ No newline at end of file |