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.

33 lines
1.3 KiB

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