[pedigree] improved layout in some cases (avoid unnecessary crossing at the begining of long edge, better parent positioning)