1 2 3 4 5 6 7
\begin{sequencediagram} \newthread{t}{:Thread} \newinst[1]{i}{:Instance} \begin{messcall}{t}{function()}{i} \end{messcall} \end{sequencediagram}