public void updateLabelling(Label nodeLabel){
  for (Iterator it=iterator(); it.hasNext(); ) {
    DirectedEdge de=(DirectedEdge)it.next();
    Label label=de.getLabel();
    label.setAllLocationsIfNull(0,nodeLabel.getLocation(0));
    label.setAllLocationsIfNull(1,nodeLabel.getLocation(1));
  }
}

public void updateLabelling ( Label nodeLabel ) { for ( Iterator it = iterator ( ) ; it . hasNext ( ) ; ) { DirectedEdge de = ( DirectedEdge ) it . next ( ) ; Label label = de . getLabel ( ) ; label . setAllLocationsIfNull ( 0 , nodeLabel . getLocation ( 0 ) ) ; label . setAllLocationsIfNull ( 1 , nodeLabel . getLocation ( 1 ) ) ; } }
update incomplete diredge labels from the labelling for the node
