我在标准森林代码中遇到了一个奇怪的边缘位置。除了最后一条边缘外,每条边缘都很好。我该如何解决这个问题?
\begin{forest}
for tree={draw, l sep=3em, s sep=0.5em, anchor=center, align=center, edge={-latex}}
[Establishment
[Agricultural,edge={dashed,black} [,draw=none,edge={dashed,black}][,draw=none,edge={dashed,black}]]
[Manual,edge={dashed,black} [,draw=none,edge={dashed,black}] [,draw=none,edge={dashed,black}]]
[Service,edge={dashed,black} [,draw=none,edge={dashed,black}] [,draw=none,edge={dashed,black}]]
[Profession,edge={dashed,black} [,draw=none,edge={dashed,black}] [,draw=none,edge={dashed,black}]]
[Commercial,edge={dashed,black} [,draw=none,edge={dashed,black}][,draw=none,edge={dashed,black}]]
[Else,edge={dashed,black} [,draw=none,edge={dashed,black}][,draw=none,edge={dashed,black}]]
]
\end{forest}
答案1
正如 Sašo Živanović 在评论中所说,添加child anchor=north
到for tree
键列表中将解决问题。