updated labyinfo.print to also print parent nodes