\documentclass[tikz]{standalone}
\usetikzlibrary{trees}
\begin{document}
\begin{tikzpicture} [
grow cyclic,
level 1/.style={level distance=32mm, sibling angle=60},
level 2/.style={level distance=16mm, sibling angle=45},
level 3/.style={level distance=8mm, sibling angle=30},
]
% Root
\node (root) {[1] root}
% [2]
child foreach \name in {{[2] A},{[2] B},{[2] C}} {node {\name}}
% [3]
;
\node (2ndGenA) at(+135:48mm) {[3] D};
\node (2ndGenB) at(-135:48mm) {[3] E};
\draw (root) -- (2ndGenA);
\draw (root) -- (2ndGenB);
\draw[dashed] (0,0) circle [radius=32mm] circle [radius=48mm];
\end{tikzpicture}
\end{document}
Is it possible to use the tikz child notation to skip a generation as shown in my example for nodes 2ndGenA (D) and 2ndGenB (E)?
Note the tree should be a radial tree which is supported by the tikzlibrary trees
. Afaik, the packages forest
and tikz-qtree
do not support radial trees. But forest
would have the tier
option.
Related questions: