\tikzstyle{block}=[draw opacity=0.7,line width=1.4cm]
\newcommand{\rep}[1]{
      \begin{tikzpicture}[thick,auto]
        \tikzstyle{node}=%
        [%
          text = black
        ]

        \tikzstyle{valid}=%
        [%
          minimum size=10pt,%
          inner sep=0pt,%
          outer sep=0pt,%
          circle%
        ]
      
        #1
      \end{tikzpicture}
}

\newcommand{\treefixedpoints}[0]{
  \rep{
        \coordinate
            child {node [node] {0}
            edge from parent node[left]{Leaf}
            }
            child {node [node] {2}
              edge from parent node[right]{Branch}
            };
  }
}

\newcommand{\directionfixedpoints}[0]{
  \rep{
          \coordinate
            child {node [node] {0}
              edge from parent node[left]{North}
            }
            child {
              child {node [node] {0}
                edge from parent node[left]{East}
              }
              child {
                child {node [node] {0}
                  edge from parent node[left]{South}
                }
                child {
                  child {node [node] {0}
                    edge from parent node[left]{West}
                  }
                  child {node [node] {2}
                    edge from parent node[right]{$\nearrow$}
                  }
                  edge from parent node{}
                }
                edge from parent node{}
              }
              edge from parent node{}
            };
  }
}


