-
Notifications
You must be signed in to change notification settings - Fork 0
/
brouillon
102 lines (85 loc) · 2.28 KB
/
brouillon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
n'y a t-il pas de bonhomme au niveau de pgf-umlsd ? Utilisateur doit être un stickman car c'est un utilisateur humain.
S'il n'y en a pas, voici des exemples de comment utiliser tikz-uml
\begin{tikzpicture}
\begin{umlseqdiag}
\umlactor{A}
\umlactor{B}
\umlobject{C}
\begin{umlcall}{A}{C}
\begin{umlcall}{C}{A}
\end{umlcall}
\begin{umlcall}{B}{C}
\begin{umlcall}{C}{B}
\end{umlcall}
\begin{umlcall}[return=1]{B}{C}
\end{umlcall}
\end{umlcall}
\begin{umlcall}[dt=20, return=1]{A}{C}
\end{umlcall}
\end{umlcall}
\end{umlseqdiag}
\end{tikzpicture}
\begin{tikzpicture}
\begin{umlseqdiag}
\umlactor{A}
\umlactor{B}
\umlobject{C}
\begin{umlcall}{A}{C}
\begin{umlcall}{C}{A}
\end{umlcall}
\begin{umlcall}[dt=10]{B}{C}
\begin{umlcall}{C}{B}
\end{umlcall}
\begin{umlcall}[return=1]{B}{C}
\end{umlcall}
\end{umlcall}
\begin{umlcall}[dt=20, return=1]{A}{C}
\end{umlcall}
\end{umlcall}
\end{umlseqdiag}
\end{tikzpicture}
\begin{tikzpicture}
\begin{umlseqdiag}
\umlobject[class=A]{a}
\umlobject[class=B]{b}
\begin{umlcall}[op={call(i,k)}, return=2]{a}{b}
\end{umlcall}
\end{umlseqdiag}
\end{tikzpicture}
\begin{tikzpicture}
\begin{umlseqdiag}
\umlobject[class=A]{a}
\umlcreatecall[class=B]{a}{b}
\begin{umlfragment}[type=alt, label=i>5, name=alt, inner xsep=2]
\begin{umlcall}[op={call(i,k)}, dt=7, return=2]{a}{b}
\end{umlcall}
\end{umlfragment}
\umlnote[x=2, y=-5]{alt}{note on alt fragment}
\end{umlseqdiag}
\end{tikzpicture}
\begin{umlseqdiag}
\umlactor[class=A]{a}
\umldatabase[class=B, fill=blue!20]{b}
\umlmulti[class=C]{c}
\umlobject[class=D]{d}
\begin{umlcall}[op=opa(), type=synchron, return=0]{a}{b}
\begin{umlcall}[op=opb(), type=synchron, return=1]{b}{c}
\begin{umlcall}[op=opc(), type=asynchron, fill=red!10]{c}{d}
\end{umlcall}
\begin{umlcall}[type=return]{c}{b}
\end{umlcall}
\begin{umlcall}[op=opd(), type=synchron, return=3]{c}{d}
\end{umlcall}
\end{umlcall}
\begin{umlcallself}[op=ope(), type=synchron, return=4]{b}
\begin{umlcall}[op=opf(), type=synchron, return=5]{b}{c}
\end{umlcall}
\end{umlcallself}
\end{umlcall}
\umlcreatecall[class=E, x=8]{a}{e}
\begin{umlcall}[op=opg(), name=test, type=synchron, return=6, dt=7, fill=red!10]{a}{e}
\umlcreatecall[class=F, stereo=boundary, x=12]{e}{f}
\end{umlcall}
\begin{umlcall}[op=oph(), type=synchron, return=7]{a}{e}
\end{umlcall}
\end{umlcall}