code: def parse_string(self, string):
          
          dom = minidom.parseString(string)
          return self.parse_dom(dom)
docs: Parse a string into a Graph.
  
          :param string: String that is to be passed into Grapg
          :return: Graph