do not add nodes and edges containing empty values