-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathretry.tex
76 lines (60 loc) · 2.24 KB
/
retry.tex
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
\documentclass{standalone}
\usepackage{tikz,rxmarbles}
\usetikzlibrary[arrows,shapes,matrix]
\begin{document}
\begin{tikzpicture}
\matrix[row sep=0.5cm,font=\sffamily]
{
\draw [time] (0,0) -- (2.5,0);
\node[marble,circle,red] (0x0) at (0.6,0) {};
\node[marble,circle,green] (1x0) at (1.2,0) {};
\node[marble,circle,blue] (2x0) at (1.8,0) {};
\node[error] (3x0) at (2.2,0) {};
\draw [time] (2.6,0) -- (5.1,0);
\coordinate (4x0) at (2.6,0);
\node[marble,circle,red] (5x0) at (3.2,0) {};
\node[marble,circle,green] (6x0) at (3.8,0) {};
\node[marble,circle,blue] (7x0) at (4.4,0) {};
\node[error] (8x0) at (4.8,0) {};
\draw [thick] (5.2,0) -- (5.8,0);
\draw [time] (6,0) -- (6.5,0);
\coordinate (9x0) at (5.2,0);
\node[marble,circle,red] (10x0) at (5.8,0) {};
\node[complete] (11x0) at (6.15,0) {};
\\
\node[box,minimum width=6.95cm] (op) {Retry};
\\
\draw [thick] (0,0) -- (6,0);
\draw [time] (6,0) -- (6.5,0);
\node[marble,circle,red] (0x2) at (0.6,0) {};
\node[marble,circle,green] (1x2) at (1.2,0) {};
\node[marble,circle,blue] (2x2) at (1.8,0) {};
\node[marble,circle,red] (3x2) at (3.2,0) {};
\node[marble,circle,green] (4x2) at (3.8,0) {};
\node[marble,circle,blue] (5x2) at (4.4,0) {};
\node[marble,circle,red] (6x2) at (5.8,0) {};
\node[complete] (7x2) at (6.15,0) {};
\\
};
\draw [fdash] (0x0) -- (0x0|-op.north);
\draw [fdash] (1x0) -- (1x0|-op.north);
\draw [fdash] (2x0) -- (2x0|-op.north);
\draw [fdash] (3x0) -- (3x0|-op.north);
\draw [subscribe] (4x0) -- (4x0|-op.north) node[above,sloped,pos=0.5] {\tiny{subscribe}};
\draw [fdash] (5x0) -- (5x0|-op.north);
\draw [fdash] (6x0) -- (6x0|-op.north);
\draw [fdash] (7x0) -- (7x0|-op.north);
\draw [fdash] (8x0) -- (8x0|-op.north);
\draw [subscribe] (9x0) -- (9x0|-op.north) node[above,sloped,pos=0.5] {\tiny{subscribe}};
\draw [fdash] (10x0) -- (10x0|-op.north);
\draw [fdash] (11x0) -- (11x0|-op.north);
\draw [rdash] (0x2) -- (0x2|-op.south);
\draw [rdash] (1x2) -- (1x2|-op.south);
\draw [rdash] (2x2) -- (2x2|-op.south);
\draw [rdash] (3x2) -- (3x2|-op.south);
\draw [rdash] (4x2) -- (4x2|-op.south);
\draw [rdash] (5x2) -- (5x2|-op.south);
\draw [rdash] (6x2) -- (6x2|-op.south);
\draw [rdash] (7x2) -- (7x2|-op.south);
\end{tikzpicture}
\end{document}