code: def get_dotstr(self):
          
          dotobj = self.gosubdagplot.get_pydot_graph() # pydot.Dot
          dotstr = dotobj.create_dot()
          return dotstr
docs: Return a string containing DAG graph in Grpahviz's dot language.