I just started doing things with TikZ today and I don't know how to draw a graph which should look like this: enter image description here

Can someone please help me?

  • 2
    Welcome to TeX.se. There are literally dozens of questions like this on the site. The forest package is your friend here.
    – Alan Munn
    Aug 5 at 1:13

1 Answer 1


As suggested @Alan Munn in his comments, your tree can be simple drawn by use of forest package. For example, the code for the first tree can be:


  for tree={
    edge = {Stealth-},
    grow = south
[ \^{I}

enter image description here

Information about forest you can found in the package documentation.

Not the answer you're looking for? Browse other questions tagged or ask your own question.