class_docstr: A simple graph class
  
      
code: def parents(self, n):
      return self.pred[n].keys()
  
file_path: dipy/dipy/core/graph.py
label_desc: Use image node_id 4 for calling the Graph obj's underlying member method code with example usage: obj.parents(n) and returns: self