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.

25 lines
1.1 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. \draw[->] (Stk0.center) to (FGX);
  18. \draw[->] (Stk1.center) to (FG);
  19. \draw[->] (Stk2.center) to (F);
  20. \end{scope}