code: def get_string(self):
          
          graph_string = self.graph.to_string()
          graph_string = graph_string.replace('\\N', '\\n')
          return graph_string
docs: Return the assembled graph as a string.
  
          Returns
          -------
          graph_string : str
              The assembled graph as a string.