code: def get_graph(self):
          
          st = self.status
          if st in (SolverStatus.solved, SolverStatus.unsolved):
              phase = self._latest_nonfailed_phase()
              return phase.get_graph()
          else:
              return self.get_fail_graph()
docs: Returns the most recent solve graph.
  
          This gives a graph showing the latest state of the solve. The specific
          graph returned depends on the solve status. When status is:
          unsolved: latest unsolved graph is returned;
          solved:   final solved graph is returned;
          failed:   most appropriate failure graph is returned (see `failure_reason`);
          cyclic:   last failure is returned (contains cycle).
  
          Returns:
              A pygraph.digraph object.