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.

51 lines
1.8 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 (KGX)
  8. [xshift=-0.55cm, inner xsep=0.01cm, inner ysep=0.03cm, below of=F, xshift=0.75cm]
  9. {@};
  10. \node (K)
  11. [xshift=0.25cm, inner xsep=0.01cm, inner ysep=0.03cm, below of=KGX, left of=KGX]
  12. {K};
  13. \node (GX)
  14. [xshift=-0.45cm, inner xsep=0.01cm, inner ysep=0.03cm, below of=KGX, right of=KGX]
  15. {@};
  16. \draw[->] (FGX) to (X);
  17. \draw[->] (FGX) to (FG);
  18. \draw[->] (FG) to (F.north east);
  19. \draw[->] (FG) to (G.north west);
  20. \draw[->] (KGX) to (K);
  21. \draw[->] (KGX) to (GX);
  22. \draw[->] (GX) to ([shift=({-0.35cm,-0.35cm})]GX)
  23. -- ++(0, -0.10cm)
  24. -| (G);
  25. \draw[->] (GX) to ([shift=({0.45cm,-0.35cm})]GX)
  26. -| (X);
  27. \node (Stk0) [draw, shape=rectangle, minimum width=1.5cm, minimum height=0.75cm, anchor=center]
  28. at (-2.75, 0) {};
  29. \node (Stk1) [draw, shape=rectangle, minimum width=1.5cm, minimum height=0.75cm, anchor=center]
  30. at (-2.75, -0.75) {};
  31. \node (Stk2) [draw, shape=rectangle, minimum width=1.5cm, minimum height=0.75cm, anchor=center]
  32. at (-2.75, -1.5) {};
  33. \node (Stk3) [draw, shape=rectangle, minimum width=1.5cm, minimum height=0.75cm, anchor=center]
  34. at (-2.75, -2.25) {};
  35. \draw[->] (Stk0.center) to (FGX);
  36. \draw[->] (Stk1.center) to (FG);
  37. \draw[->] (Stk2.center) to (F);
  38. \draw[->] (Stk3.center) to (KGX);
  39. \end{scope}