drawBranches returns a mapping of recursive depths to arrays of branches