森林、レベル間の距離を指定する方法

森林、レベル間の距離を指定する方法

このコードを持っていますが、レベル間の距離を短くしたいと思っています。何か提案はありますか?

\begin{forest}
    for tree={
        circle,
        draw,
        fill,
        minimum width=2pt, % size
        inner sep=0pt,
        parent anchor=center,
        child anchor=center,
        s sep+=25pt, % distance between children
        grow = north
    }
[ 
[
[]
]
]
\end{forest}

答え1

レベル距離は、 キーlと を使用して調整できますl sep。詳細については、マニュアルのセクション 3.7.2 (リファレンス) および 2.4 (チュートリアル) を参照してください。

関連情報