| 1 | \input{kdfigs-tikz} |
|---|
| 2 | \setpagesize{\pointerlessfigwidth}{\pointerlessfigheight} |
|---|
| 3 | |
|---|
| 4 | \begin{document}% |
|---|
| 5 | \thispagestyle{empty}% |
|---|
| 6 | \begin{center}% |
|---|
| 7 | \begin{tikzpicture}[>=latex, scale=0.6] |
|---|
| 8 | %\useasboundingbox (0,-1.16) rectangle (7.4, 1.73); |
|---|
| 9 | \tikzstyle{box} = [draw, thick, minimum size=0.6cm] |
|---|
| 10 | \begin{scope} [xshift=0.5cm, yshift=0.5cm] |
|---|
| 11 | \draw (0,0) node (N0) [box] {0}; |
|---|
| 12 | \end{scope} |
|---|
| 13 | \begin{scope} [xshift=1.7cm, yshift=0.5cm] |
|---|
| 14 | \draw (0,0) node (N1) [box] {1}; |
|---|
| 15 | \draw (1,0) node (N2) [box] {2}; |
|---|
| 16 | \end{scope} |
|---|
| 17 | \begin{scope} [xshift=3.9cm, yshift=0.5cm] |
|---|
| 18 | \draw (0,0) node (N3) [box] {3}; |
|---|
| 19 | \draw (1,0) node (N4) [box] {4}; |
|---|
| 20 | \draw (2,0) node (N5) [box] {5}; |
|---|
| 21 | \draw (3,0) node (N6) [box] {6}; |
|---|
| 22 | \end{scope} |
|---|
| 23 | \draw [->, thick] (N0.north) to [bend left=65] (N1.north); |
|---|
| 24 | \draw [->, thick] (N0.north) to [bend left=65] (N2.north); |
|---|
| 25 | \draw [->, thick] (N1.south) to [bend right=65] (N3.south); |
|---|
| 26 | \draw [->, thick] (N1.south) to [bend right=65] (N4.south); |
|---|
| 27 | \draw [->, thick] (N2.south) to [bend right=65] (N5.south); |
|---|
| 28 | \draw [->, thick] (N2.south) to [bend right=65] (N6.south); |
|---|
| 29 | % \draw (current bounding box.south west) rectangle (current bounding box.north east); |
|---|
| 30 | \end{tikzpicture}% |
|---|
| 31 | \end{center}% |
|---|
| 32 | \end{document} |
|---|