code: def read_g(self, g):
      self.G = g
      self.encode_node()
  
file_path: OpenNE/src/openne/graph.py
imports: import networkx
  import pickle
  import numpy
  import scipy.sparse
label_desc: Use image node_id 3 for calling the Graph obj's underlying member method code with example usage: obj.read_g(g) without return types