I need help in producing this graph in tikz. The color and shading does not matter.
I can only produce the 3 levels with circle in the second level. But I do not know how to make the level 2 circle disappear and draw a dotted line. Also I do not know how to add edge label.
\documentclass[border=10pt,varwidth]{standalone}
\usepackage{tikz}
\usepackage{comment}
\usetikzlibrary{calc, shapes, backgrounds}
\usepackage{amsmath, amssymb}
\pagecolor{olive!50!yellow!0!white}
\begin{document}
\begin{tikzpicture}
\node [circle,draw]{A} [level distance=10mm,sibling distance=25mm]
child { node [circle,draw]{B} [level distance=10mm ,sibling distance=15mm]
child {node [circle,draw]{D}}
}
child {node [circle,draw] {E} [level distance=10mm ,sibling distance=15mm]
child {node [circle,draw] {F}}
child {node [circle,draw]{G}}
};
\end{tikzpicture}
\end{document}