Correctly update node label->node mapping when parsing DOT and GML files