mindmap analyzing all the branches for label (TDB) positioning