summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/pgf-umlsd/demo/customize.tex
blob: db4cc01c19bbc40fdfb58e9a5bc0e9404b0d28a0 (plain)
1
2
3
4
5
6
7
8
9
\begin{sequencediagram}
  \newthread[red]{r}{:Red}
  \newthread[green]{g}{:Green}
  \newthread[blue]{b}{:Blue}
  \tikzstyle{inststyle}+=[top color=yellow, bottom color=gray]
  \newinst{y}{:Yellow}
  \tikzstyle{inststyle}+=[bottom color=white, top color=white, rounded corners=3mm]
  \newinst{o}{:Rounded}
\end{sequencediagram}