code: def equiv_graph(self):
          
          eg = nx.Graph()
          for (u,v,d) in self.get_graph().edges(data=True):
              if d['pred'] == 'equivalentTo':
                  eg.add_edge(u,v)
          return eg
docs: Returns
          -------
          graph
              bidirectional networkx graph of all equivalency relations