答案1
这是获取布局的基本方法forest
(而不是尝试仔细重现屏幕截图)。
\documentclass{article}
\usepackage[edges]{forest}
\begin{document}
\begin{forest}
forked edges,
for tree={
grow=south,
draw,
double,
minimum width=3em,
fill=cyan!10,
},
delay={where content={}{draw=none,fill=none,
append after command={(\tikzlastnode.north) edge (\tikzlastnode.south)}}{},
},
[A,
[,phantom]
[B1]
[B2]
[,
[C1]
[C2]
[C3]
[,]
[C4]
[C5]
[C6]
]
[B3]
[B4]
[B5]
]
\end{forest}
\end{document}