Tree

\documentclass{article}
\usepackage[papersize={45mm, 30mm}, text={40mm, 35mm}]{geometry}
\usepackage{tikz}
\usetikzlibrary{arrows}

\begin{document}

\begin{figure}
  \centering
  \begin{tikzpicture}[node distance=1cm,>=stealth',elem/.style={circle,draw,fill=orange!40}]
    \node [elem] (b2) {2};
    \node [elem] (b4) [below of=b2, xshift=-10mm] {4} edge [->] (b2);
    \node [elem] (b3) [below of=b2, xshift=  8mm] {3} edge [->] (b2);
    \node [elem] (b1) [below of=b4, xshift= -8mm] {1} edge [->] (b4);
    \node [elem] (b0) [below of=b4, xshift=  8mm] {0} edge [->] (b4);
    \node [elem] (b5) [below of=b3, xshift=  4mm] {5} edge [->] (b3);
  \end{tikzpicture}
\end{figure}

\end{document}
Comments Off on Tree