summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/pgf-umlsd/demo/threadbias.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/pgf/contrib/pgf-umlsd/demo/threadbias.tex
Initial commit
Diffstat (limited to 'graphics/pgf/contrib/pgf-umlsd/demo/threadbias.tex')
-rw-r--r--graphics/pgf/contrib/pgf-umlsd/demo/threadbias.tex17
1 files changed, 17 insertions, 0 deletions
diff --git a/graphics/pgf/contrib/pgf-umlsd/demo/threadbias.tex b/graphics/pgf/contrib/pgf-umlsd/demo/threadbias.tex
new file mode 100644
index 0000000000..f4f8ac7f7f
--- /dev/null
+++ b/graphics/pgf/contrib/pgf-umlsd/demo/threadbias.tex
@@ -0,0 +1,17 @@
+\begin{sequencediagram}
+ \newthread[blue]{s1}{:Server1}
+ \newinst{db}{:Database}
+ \newthread[red]{s2}{:Server2}
+
+ \begin{call}{s1}{reading}{db}{data}
+ \postlevel
+ \end{call}
+
+ \prelevel\prelevel
+
+ \setthreadbias{east}
+
+ \begin{call}{s2}{reading}{db}{data}
+ \postlevel
+ \end{call}
+\end{sequencediagram}