I have this TikZ code:
\documentclass{minimal}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture} [
level 1/.style={sibling distance = 2cm, level distance = 1cm},
level 2/.style={sibling distance = 1cm},
level 3/.style={sibling distance = 1cm},
every node/.style={circle, draw=black, minimum size = 0.5cm},
edge from parent/.style={red,thick,draw}
]
\node{}
child { node {}
child { node {} }
child { node {}
child { node {} }
child { node {} }
}
}
child { node {}
child { node {} }
child { node {} }
}
child { node {} }
;
\end{tikzpicture}
\end{document}
And it produces this picture:
Why are the bottom nodes thick?
Best Answer
Styles are inherited to the child nodes. The manual addresses this in the note at the end of section 18.6. This happens in other places with Tikz as well.
The solution in this case would be to override it by specifying the style for "every node", i.e.
Note that "thin" is actually the normal line width.
Edit: Since there was a reply while I was looking things up, I thought I'd bring in some more information by quoting the relevant section in the manual;
For the follow up question regarding modifying specific paths. I would interpret the manual as you will have to do apply styles to nodes manually.