my blog lives here now
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.7 KiB

7 years ago
  1. \begin{scope}[node distance=0.75cm]
  2. \node (FGX) [inner xsep=0.01cm, inner ysep=0.03cm] at (0, 0) {@};
  3. \node (FG) [xshift=0.25cm, inner xsep=0.01cm, inner ysep=0.03cm, below of=FGX, left of=FGX] {@};
  4. \node (X) [xshift=-0.25cm, inner xsep=0.01cm, inner ysep=0.03cm, below of=FGX, right of=FGX] {x};
  5. \node (F) [xshift=0.25cm, inner xsep=0.04cm, inner ysep=0.05cm, below of=FG, left of=FG, xshift=2] {f};
  6. \node (G) [xshift=-0.25cm, inner xsep=0.01cm, inner ysep=0.03cm, below of=FG, right of=FG, xshift=-2] {g};
  7. \node (GX)
  8. [xshift=-0.25cm, inner xsep=0.01cm, inner ysep=0.03cm, below of=F, xshift=0.75cm]
  9. {@};
  10. \draw[->] (FGX) to (X);
  11. \draw[->] (FGX) to (FG);
  12. \draw[->] (FG) to (F.north east);
  13. \draw[->] (FG) to (G.north west);
  14. \draw[->] (GX) to ([shift=({-0.35cm,-0.35cm})]GX)
  15. -- ++(0, -0.10cm)
  16. -| (G);
  17. \draw[->] (GX) to ([shift=({0.45cm,-0.35cm})]GX)
  18. -| (X);
  19. \node (Stk0) [draw, shape=rectangle, minimum width=1.5cm, minimum height=0.75cm, anchor=center]
  20. at (-2.75, 0) {};
  21. \node (Stk1) [draw, shape=rectangle, minimum width=1.5cm, minimum height=0.75cm, anchor=center]
  22. at (-2.75, -0.75) {};
  23. \node (Stk2) [draw, shape=rectangle, minimum width=1.5cm, minimum height=0.75cm, anchor=center]
  24. at (-2.75, -1.5) {};
  25. \node (Stk3) [draw, shape=rectangle, minimum width=1.5cm, minimum height=0.75cm, anchor=center]
  26. at (-2.75, -2.25) {};
  27. \node (Stk4) [draw, shape=rectangle, minimum width=1.5cm, minimum height=0.75cm, anchor=center]
  28. at (-2.75, -3) {};
  29. \node (K) [right of=Stk4, xshift=1.5cm] {K};
  30. \draw[->] (Stk0.center) to (FGX);
  31. \draw[->] (Stk1.center) to (FG);
  32. \draw[->] (Stk2.center) to (F);
  33. \draw[->] (Stk3.center) to (GX);
  34. \draw[->] (Stk4.center) to (K);
  35. \end{scope}