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.

31 lines
1.4 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. \draw[->] (FGX) to (X);
  8. \draw[->] (FGX) to (FG);
  9. \draw[->] (FG) to (F.north east);
  10. \draw[->] (FG) to (G.north west);
  11. \node (Stk0) [draw, shape=rectangle, minimum width=1.5cm, minimum height=0.75cm, anchor=center]
  12. at (-2.75, 0) {};
  13. \node (Stk1) [draw, shape=rectangle, minimum width=1.5cm, minimum height=0.75cm, anchor=center]
  14. at (-2.75, -0.75) {};
  15. \node (Stk2) [draw, shape=rectangle, minimum width=1.5cm, minimum height=0.75cm, anchor=center]
  16. at (-2.75, -1.5) {};
  17. \node (Stk3) [draw, shape=rectangle, minimum width=1.5cm, minimum height=0.75cm, anchor=center]
  18. at (-2.75, -2.25) {};
  19. \node (Stk4) [draw, shape=rectangle, minimum width=1.5cm, minimum height=0.75cm, anchor=center]
  20. at (-2.75, -3) {};
  21. \draw[->] (Stk0.center) to (FGX);
  22. \draw[->] (Stk1.center) to (FG);
  23. \draw[->] (Stk2.center) to (F);
  24. \draw[->] (Stk3.center) to (X |- 0, -2.25cm) -- (X);
  25. \draw[->] (Stk4.center) to (G |- 0, -3cm) -- (G);
  26. \end{scope}