updateLabelling method

void updateLabelling(
  1. Label nodeLabel
)

Update incomplete dirEdge labels from the labelling for the node

Implementation

void updateLabelling(Label nodeLabel) {
  for (Iterator it = iterator(); it.moveNext();) {
    DirectedEdge de = it.current as DirectedEdge;
    Label label = de.getLabel()!;
    label.setAllLocationsIfNullWithIndex(0, nodeLabel.getLocation(0));
    label.setAllLocationsIfNullWithIndex(1, nodeLabel.getLocation(1));
  }
}