答案1
我使用命令让它工作了\draw
。
\begin{forest}
[
E, name=11
[E,name=7 [T, name=6 [T,name=3 [F,name=2 [digit, name=1]] ][*][F, name=5 [digit, name=4] ]]]
[+]
[T, name=10 [F, name=9 [digit, name=8 ]]]
]
\draw[->,dotted] (1) to[out=west,in=south west] (2);
\draw[->,dotted] (2) to[out=north west,in=south west] (3);
\draw[->,dotted] (3) to[out=north west,in=west] (6);
\draw[->,dotted] (4) to[out=east,in=south east] (5);
\draw[->,dotted] (5) to[out=north east,in=east] (6);
\draw[->,dotted] (6) to[out=north west,in=south west] (7);
\draw[->,dotted] (8) to[out=east,in=south east] (9);
\draw[->,dotted] (9) to[out=north east,in=south east] (10);
\draw[->,dotted] (7) to[out=north west,in=west] (11);
\draw[->,dotted] (10) to[out=north east,in=east] (11);
\end{forest}