Check and set edges in the global NodeEdges