Copy the TikZ code...
Paste them under the original one... place... \action between them... and leave the last copy untouched... but in each copy inserted before... either start changing color to be invisible or if possible delete the codes corresponding to the generations...
\documentclass{beamer}
\usepackage{tikz}
\begin{document}
\begin{frame}[label=CCS]
\frametitle{Motivations and Directions}
\framesubtitle{The Cache County Study (CCS)}
\begin{figure}
\centering
\begin{tikzpicture} [nodes={draw, rectangle, fill=orange!30, sibling distance=10cm,minimum height=2em}, ->]
\action<1>{\node[fill=orange!30, rectangle]{0};}
\action<2>{\node[fill=orange!30, rectangle]{0}
child { node {A} }
child [missing]
child { node[fill=orange!30, rectangle] {F: 3}
}
child [missing]
child { node {C: 167} }
child [missing]
child { node {D: 92}};
}
\action<3>{\node[fill=orange!30, rectangle]{0}
child { node {A} }
child [missing]
child { node[fill=orange!30, rectangle] {F: 3}
child { node[fill=orange!30, rectangle] {G: 28}
}}
child [missing]
child { node {C: 167} }
child [missing]
child { node {D: 92}};
}
\action<4>{\node[fill=orange!30, rectangle]{0}
child { node {A} }
child [missing]
child { node[fill=orange!30, rectangle] {F: 3}
child { node[fill=orange!30, rectangle] {G: 28}
{child {node{Z}}}
}}
child [missing]
child { node {C: 167} }
child [missing]
child { node {D: 92}};
}
\action<5>{\node[fill=orange!30, rectangle]{0}
child { node {A} }
child [missing]
child { node[fill=orange!30, rectangle] {F: 3}
child { node[fill=orange!30, rectangle] {G: 28}
{child {node{Z}}}
child {node[fill=orange!30, rectangle] {L: 22}}
child [missing]
child {node {B: 296}}
}}
child [missing]
child { node {C: 167} }
child [missing]
child { node {D: 92}};
}
\end{tikzpicture}
\end{figure}
\end{frame}
\end{document}
