summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/pgf-umlsd/demo/block.tex
blob: deec2c8fa75ba7b8c99c55ce7a8cee1816608f7e (plain)
1
2
3
4
5
6
7
8
9
\begin{sequencediagram}
  \newthread{t}{:Thread}
  \newinst[1]{i}{:Instance}

  \begin{sdblock}{Block}{description}
    \begin{call}{t}{function()}{i}{}
    \end{call}
  \end{sdblock}
\end{sequencediagram}