-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcombinelatest.tex
89 lines (80 loc) · 2.6 KB
/
combinelatest.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
77
78
79
80
81
82
83
84
85
86
87
88
89
\documentclass{standalone}
\usepackage{tikz,rxmarbles}
\usetikzlibrary[arrows,shapes,positioning,matrix]
\begin{document}
\begin{tikzpicture}
\matrix[row sep=0.5cm]
{
\draw [time] (0,0) -- (5.5,0);
\node[marble,circle,magenta] (0x0) at (0.5,0) {};
\node[marble,circle,orange] (1x0) at (2,0) {};
\node[marble,circle,cyan] (2x0) at (3,0) {};
\node[marble,circle,yellow] (3x0) at (4.5,0) {};
\node[complete] (4x0) at (5,0) {};
\\
\draw [time] (0,0) -- (7,0);
\node[marble,diamond] (0x1) at (1.25,0) {};
\node[marble,fivestar] (1x1) at (3.75,0) {};
\node[marble,pentagon] (2x1) at (5.5,0) {};
\node[complete] (3x1) at (6.5,0) {};
\\
\node[box,minimum width=7cm] (op) {CombineLatest};
\\
\draw [time] (0,0) -- (7,0);
\node[pair] (0x2) at (1.25,0) {
\begin{tikzpicture}[baseline=-1mm]
\node[marble,circle,magenta] (y) at (0,0.75) {};
\node[marble,diamond] (y) at (0,0) {};
\end{tikzpicture}
};
\node[pair] (1x2) at (2,0) {
\begin{tikzpicture}[baseline=-1mm]
\node[marble,circle,orange] (y) at (0,0.75) {};
\node[marble,diamond] (y) at (0,0) {};
\end{tikzpicture}
};
\node[pair] (2x2) at (3,0) {
\begin{tikzpicture}[baseline=-1mm]
\node[marble,circle,cyan] (y) at (0,0.75) {};
\node[marble,diamond] (y) at (0,0) {};
\end{tikzpicture}
};
\node[pair] (3x2) at (3.75,0) {
\begin{tikzpicture}[baseline=-1mm]
\node[marble,circle,cyan] (y) at (0,0.75) {};
\node[marble,fivestar] (y) at (0,0) {};
\end{tikzpicture}
};
\node[pair] (4x2) at (4.5,0) {
\begin{tikzpicture}[baseline=-1mm]
\node[marble,circle,yellow] (y) at (0,0.75) {};
\node[marble,fivestar] (y) at (0,0) {};
\end{tikzpicture}
};
\node[pair] (5x2) at (5.5,0) {
\begin{tikzpicture}[baseline=-1mm]
\node[marble,circle,yellow] (y) at (0,0.75) {};
\node[marble,pentagon] (y) at (0,0) {};
\end{tikzpicture}
};
\node[complete] (6x2) at (6.5,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 [fdash] (4x0) -- (4x0|-op.north);
\draw [fdash] (0x1) -- (0x1|-op.north);
\draw [fdash] (1x1) -- (1x1|-op.north);
\draw [fdash] (2x1) -- (2x1|-op.north);
\draw [fdash] (3x1) -- (3x1|-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);
\end{tikzpicture}
\end{document}