texmf-dist/doc/latex/pgf-umlsd/demo/customize.tex
raw| 1 | \begin{sequencediagram} |
| 2 | \newthread[red]{r}{:Red} |
| 3 | \newthread[green]{g}{:Green} |
| 4 | \newthread[blue]{b}{:Blue} |
| 5 | \tikzstyle{inststyle}+=[top color=yellow, bottom color=gray] |
| 6 | \newinst{y}{:Yellow} |
| 7 | \tikzstyle{inststyle}+=[bottom color=white, top color=white, rounded corners=3mm] |
| 8 | \newinst{o}{:Rounded} |
| 9 | \end{sequencediagram} |