Source. [a3083013147e98da]

import BinaryTrees
import Data.List (groupBy, intercalate)
import Data.Function
dia = treesOfSize 4
  # groupBy ((==) `on` (bsize . left))
  # map (map (drawBin True))
  # intercalate [vrule 3 # dashingL [0.1, 0.1] 0 # lc blue # alignT]
  # hsep 1