-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtodictionary.tex
42 lines (35 loc) · 1.37 KB
/
todictionary.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
\documentclass{standalone}
\usepackage{tikz,rxmarbles,amsmath}
\usetikzlibrary[arrows,shapes,positioning,matrix]
\begin{document}
\begin{tikzpicture}
\matrix[row sep=0.5cm]
{
\draw [time] (0,0) -- (7,0);
\node[marble,circle,red] (0x0) at (0.5,0) {};
\node[marble,circle,yellow] (1x0) at (1.75,0) {};
\node[marble,circle,green] (2x0) at (3.5,0) {};
\node[complete] (6x0) at (4,0) {};
\\
\node[box,minimum width=7cm] (op) {ToDictionary ($k\left(\tikz[baseline=-1mm] \node[marble,circle,white] {};\right)$)};
\\
\draw [time] (0,0) -- (7,0);
\node[notification] (0x2) at (4,0) {
$\left[
\begin{alignedat}{2}
&k\left(\tikz[baseline=-1mm] \node[marble,circle,red,minimum size=2.5mm] {};\right):\tikz[baseline=-1mm] \node[marble,circle,red] {};\\
&k\left(\tikz[baseline=-1mm] \node[marble,circle,yellow,minimum size=2.5mm] {};\right):\tikz[baseline=-1mm] \node[marble,circle,yellow] {};\\
&k\left(\tikz[baseline=-1mm] \node[marble,circle,green,minimum size=2.5mm] {};\right):\tikz[baseline=-1mm] \node[marble,circle,green] {};\\
\end{alignedat}
\right]$
};
\node[complete] (1x2) at (5.5,0) {};
\\
};
\draw [fdash] (0x0) -- (0x0|-op.north);
\draw [fdash] (1x0) -- (1x0|-op.north);
\draw [fdash] (2x0) -- (2x0|-op.north);
\draw [fdash] (6x0) -- (6x0|-op.north);
\draw [rdash] (0x2) -- (0x2|-op.south);
\end{tikzpicture}
\end{document}