summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/pgf-umlsd/demo/no-thread-example.tex
blob: cd5bf028033abae7d929526b0c7d27fcdf1d1b3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
\begin{sequencediagram}
  \tikzstyle{inststyle}+=[{font=\large}]
  \def\unitfactor{.9}

  \newinst{instance 1}
  {instance 1}

  \newinst{instance 2}
  {instance 2}

  \newinst[4cm]{instance 3}
  {instance 3}

  \tikzstyle{instcolordienst}=[fill=black!25]
  \tikzstyle{instcolorbuerger}=[fill=black!25]

  \messcall{instance 3}{data 1}{instance 2}

  \begin{call}
    {instance 3}{data 2}
    {instance 2}{data 2*}

    \begin{callself}
      {instance 2}{Nutzerinteraktion}{data 3, data 2}
    \end{callself}

    \begin{call}
      {instance 2}{data 4, data 2}
      {instance 1}{}
    \end{call}
  \end{call}

\end{sequencediagram}