analysis.tex (1769B)
1 \begin{tikzpicture}[ 2 block/.style={rectangle,draw=black,fill=black!10,minimum size=7mm}, 3 conf/.style={draw=black!60!green,fill=black!60!green!10}, 4 nconf/.style={dotted}, 5 conft/.style={text=black!60!green}, 6 confl/.style={draw=black!60!green}, 7 ar/.style={-stealth} 8 ] 9 % Common 10 \node(0){}; 11 \node[block,conf,right=5mm of 0](1){}; 12 \node[block,conf,right=5mm of 1](2){}; 13 \draw[ar] (0) -- (1); 14 \draw[ar] (1) -- (2); 15 16 % Current 17 \node[block,conf,right=5mm of 2](3){}; 18 \node[block,nconf,right=5mm of 3](4){}; 19 \node[block,nconf,right=5mm of 4](5){}; 20 \node[block,nconf,right=5mm of 5](6){}; 21 \draw[ar] (2) -- (3); 22 \draw[ar] (3) -- (4); 23 \draw[ar] (4) -- (5); 24 \draw[ar] (5) -- (6); 25 26 % Fork 27 \node[block,nconf,above=7mm of 3](3p){}; 28 \node[block,nconf,right=5mm of 3p](4p){}; 29 \node[block,nconf,right=5mm of 4p](5p){}; 30 \node[block,nconf,right=5mm of 5p](6p){}; 31 \node[block,nconf,right=5mm of 6p](7p){}; 32 \draw[ar] (2.east) -- (3p.west); 33 \draw[ar] (3p) -- (4p); 34 \draw[ar] (4p) -- (5p); 35 \draw[ar] (5p) -- (6p); 36 \draw[ar] (6p) -- (7p); 37 38 % Indication 39 \node[right=5mm of 7p]{\emph{fork}}; 40 \node[right=17mm of 6]{\emph{active}}; 41 42 % Confirmation 43 \path (0) -- (1) node[conft,midway, below=6mm] (M) {Max}; 44 \path (2) -- (3) node[conft,midway, below=6mm] (N) {New}; 45 \path (3) -- (4) node[conft,midway, below=6mm] (I) {Initial}; 46 \node[above=25mm of M] (Mp) {}; 47 \node[above=25mm of N] (Np) {}; 48 \node[above=25mm of I] (Ip) {}; 49 \draw[confl,thick,dotted](M) -- (Mp); 50 \draw[confl](N) -- (Np); 51 \draw[confl,thick,dotted](I) -- (Ip); 52 \end{tikzpicture}