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.

18 lines
602 B

5 months ago
  1. \begin{center}
  2. \begin{forest}
  3. for tree={circle, draw, no edge,
  4. minimum size=2em,
  5. inner sep=0pt,
  6. s sep=6mm,
  7. l sep=6mm}
  8. [$f$, rectangle, draw, tikz={\draw [line] () to (s.north);}
  9. [$s$, name=s, tikz={\draw [line] () to (-0.6, -2.2); \draw [fulldot=.5] () to (r.north);}
  10. [,phantom]
  11. [$r$, name=r, tikz={\draw [line] () to (p.north); \draw[dot=.5] () to (1.3,-3.5);}
  12. [$p$, name=p, tikz={\draw [line] () to (-0.6, -4.8); \draw[fulldot=.5] () to (0.6, -4.8);}]
  13. [,phantom]
  14. ]
  15. ]
  16. ]
  17. \end{forest}
  18. \end{center}