How can I change the style of all the edges in code below like the red one? I tried adding every edge/.style={..} but it doesn't work.
\documentclass{article}
\usepackage{tikz-qtree}
\begin{document}
\begin{tikzpicture}[every tree node/.style={font=\huge},
level distance=1.1cm,sibling distance=.8cm,
edge from parent path={(\tikzparentnode.south) -- +(0,-8pt) -| (\tikzchildnode)}],
frontier/.style={distance from root=350pt} % Align leaf nodes
\Tree
[
\edge [ultra thick, dashed,red] node[black,near end,left] {branch};
[
\edge node[near end, left] {};
[
\edge node[] {}; [.a ]
\edge node[] {}; [.b ]
]
\edge node[] {}; [.c ]
]
\edge node[near end,right] {};
[
\edge node[] {}; [.d ]
\edge node[] {}; [.e ]
]
]
\end{tikzpicture}
\end{document}


edge from parent/.style={draw,red,ultra thick,dashed},afteredge from parent path={(\tikzparentnode.south) -- +(0,-8pt) -| (\tikzchildnode)}],, then the style won't apply (idk why) – havij Oct 13 '17 at 23:02