How do I draw just a tree with one child using tikzpicture?
As shown in the picture, I want to have a tree like (1).

But I have only been succesful in getting a picture like (2) and (3) using:
\begin{tikzpicture}
\node[circle,draw](z){$30$}
% comment the below for (3):
child{}
child{
node[circle,draw]{40}}
;
\end{tikzpicture}
So, is there a modifier that I don't know of? I've tried to find it in the manual of 7xx pages, but I failed on finding something useful.

