class_docstr: The data load just read the edge file, at the same time reindex the source and destination.
class_docstr_tok: ["The","data","load","just","read","the","edge","file",",","at","the","same","time","reindex","the","source","and","destination","."]
code: def __init__(self, undirected=True, data_dir=""):
      self._undirected = undirected
      self._data_dir = data_dir
      self._load_edge_data()
  
imports: from pgl import graph
  import numpy
label_desc: Use image node_id 1 to create a new EdgeDataset object  with example: obj = EdgeDataset(undirected, data_dir)