1 \tikzstyle{ghostblock} = [draw,rectangle,minimum height=5.6cm, minimum width=1.6cm,color=gray!80,rounded corners=2pt]
\r
2 \newcommand*{\boxcolor}{gray!80}
\r
3 \newcommand*{\circolor}{black}
\r
4 \newcommand*{\gridscale}{1.0\linewidth}
\r
5 \resizebox{\gridscale}{!}{
\r
6 \begin{tikzpicture}[thick]
\r
7 \draw (0,0) grid (8,5);
\r
8 \foreach \c in {(0,0), (1,0), (2,0), (3,0), (4,0), (5,0), (6,0)}
\r
9 \foreach \k in {(0,0), (0,1), (0,2), (0,3), (0,4), (0,5)}
\r
10 \fill [fill=\circolor] \k + \c circle (0.12);
\r
11 \foreach \k in {0,1,2,3,4,5}
\r
13 \fill [fill=\boxcolor] (6.9,-0.1+\k) rectangle (7.1,0.1+\k);
\r
14 \fill [fill=\boxcolor] (7.9,-0.1+\k) rectangle (8.1,0.1+\k);
\r
16 \node (rect1l) [ghostblock] at (7.5,2.5) {};
\r
17 \node (rect2l) [ghostblock] at (12.5,2.5) {};
\r
18 \draw (rect1l.north) edge[out=45,in=135,triangle 45-] (rect2l.north);
\r
22 \draw (10,0) grid (20,5);
\r
23 \foreach \c in {(12,0), (13,0), (14,0), (15,0), (16,0), (17,0), (18,0)}
\r
24 \foreach \k in {(0,0), (0,1), (0,2), (0,3), (0,4), (0,5)}
\r
25 \fill [fill=\circolor] \k + \c circle (0.12);
\r
26 \foreach \k in {0,1,2,3,4,5}
\r
28 \fill [fill=\boxcolor] (9.9,-0.1+\k) rectangle (10.1,0.1+\k);
\r
29 \fill [fill=\boxcolor] (10.9,-0.1+\k) rectangle (11.1,0.1+\k);
\r
31 \node (rect1r) [ghostblock] at (5.5,2.5) {};
\r
32 \node (rect2r) [ghostblock] at (10.5,2.5) {};
\r
33 \draw (rect1r.south) edge[out=-45,in=-135,-triangle 45] (rect2r.south);
\r
34 \foreach \k in {0,1,2,3,4,5}
\r
36 \fill [fill=\boxcolor] (18.9,-0.1+\k) rectangle (19.1,0.1+\k);
\r
37 \fill [fill=\boxcolor] (19.9,-0.1+\k) rectangle (20.1,0.1+\k);
\r
39 \node (rect1r2) [ghostblock] at (19.5,2.5) {};
\r
40 \node (rect2r2) [ghostblock] at (24.5,2.5) {};
\r
41 \draw (rect1r2.north) edge[out=45,in=135,triangle 45-] (rect2r2.north);
\r
45 \draw (22,0) grid (30,5);
\r
46 \foreach \c in {(24,0), (25,0), (26,0), (27,0), (28,0), (29,0), (30,0)}
\r
47 \foreach \k in {(0,0), (0,1), (0,2), (0,3), (0,4), (0,5)}
\r
48 \fill [fill=\circolor] \k + \c circle (0.12);
\r
49 \foreach \k in {0,1,2,3,4,5}
\r
51 \fill [fill=\boxcolor] (21.9,-0.1+\k) rectangle (22.1,0.1+\k);
\r
52 \fill [fill=\boxcolor] (22.9,-0.1+\k) rectangle (23.1,0.1+\k);
\r
54 \node (rect1r3) [ghostblock] at (17.5,2.5) {};
\r
55 \node (rect2r3) [ghostblock] at (22.5,2.5) {};
\r
56 \draw (rect1r3.south) edge[out=-45,in=-135,-triangle 45] (rect2r3.south);
\r