Source. [f9f118a0a49128fe]
import Diagrams.TwoD.Layout.Tree import Diagrams.Prelude hiding (Empty) import Data.Maybe (fromJust) chain 0 = Empty chain n = BNode () (chain (n-1)) Empty dia = (renderTree (const (circle 0.3 # fc white)) (~~) . fromJust . symmLayoutBin) (chain 5) # frame 0.1