Ejemplo n.º 1
0
 def _parse_dot_code_fired(self):
     """ Parses the dot_code string and replaces the existing model.
     """
     parser = GodotDataParser()
     graph  = parser.parse_dot_data(self.dot_code)
     if graph is not None:
         self.model = graph