答案1
为了乐趣和练习使用该包forest
:
\documentclass[tikz, border=3mm]{standalone}
\usepackage[edges]{forest}
\begin{document}
\begin{forest}
for tree={
grow'=0,
draw,
align=c,
font=\sffamily\bfseries\linespread{0.9}\selectfont,
text=white,
inner ysep=2pt,
parent anchor=children,
child anchor=parent,
edge={semithick,line cap=round},
l sep=7mm,
s sep=2mm,
},
clr/.style={fill=#1}
[Margaret\\xxx,clr=orange
[Nancy\\xxx,clr=yellow!60!orange
[Name\\Title,clr=teal
[Name\\Title,clr=gray]
]
[Name\\Title,clr=teal]
]
[Name\\Title,clr=yellow!60!orange
[Name\\Title,clr=teal
[Name\\Title,clr=gray]
]
[Name\\Title,clr=teal
[Name\\Title,clr=gray]
]
[Name\\Title,clr=teal]
[Name\\Title,clr=teal]
]
]
\end{forest}
\end{document}