Displayinh graph Node labels alonf with their distances on heapNodes