Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2021
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 0.71 KB | None | 0 0
  1. \documentclass{article}
  2. \usepackage[utf8]{inputenc}
  3.  
  4. \usepackage{tikz}
  5.  
  6. \begin{document}
  7.  
  8. \begin{tikzpicture}
  9. \node[circle, draw=black, minimum size=10mm,label={[font=\small,text=blue]45:{0}}] {I}
  10.    child {node[circle, draw=black, minimum size=10mm] {if}}
  11.    child {node(0)[circle, draw=black, minimum size=10mm,label={[font=\small,text=blue]45:{1}}] {B}
  12.        child {node(1)[circle, draw=black, minimum size=10mm] {$b_1$}}
  13.    }
  14.    child {node[circle, draw=black, minimum size=10mm] {then}}
  15.    child {node[circle, draw=black, minimum size=10mm,label={[font=\small,text=blue]45:{2}}] {C}
  16.        child {node[circle, draw=black, minimum size=10mm] {$c_2$}}
  17.    }
  18.    ;
  19. \end{tikzpicture}
  20.  
  21. \end{document}
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement