I have a problem with my Tikz Tree. The right edge that connects the node "NON Mammifero" in the first level, goes down at the same level of edge label "NO".
I would like it to stop at the first level with the node "Partorisce". I try to use sibling distance and level distance, but (i don't know why) doesn't work.
Thanks in advance.
Here the library:
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
Here the code:
\begin{figure}[htbp]
\centering
\begin{tikzpicture}[sibling distance=5cm, level distance=3cm,
every node/.style = {
align=center,
top color=white }]
\node[ellipse][draw]{Termofisiologia}
child { edge from parent node[above left,pos=.3]{Sangue-caldo} node[ellipse,draw] {Partorisce}
child { node[draw] {Mammifero} edge from parent node[above left]{SI}}
child { node[draw] {NON Mammifero} edge from parent node[above right]{NO}} }
child { node[draw] {NON Mammifero} edge from parent node[above right]{Sangue-freddo} };
\end{tikzpicture}
\vspace{0.2cm}
\caption{Esempio di albero decisionale}


