def GraficarGrafo(self, grafo, proy): grafof = self.GraficoProyecto(proy) dot = write(grafof) _gvv = _gv.readstring(dot) _gv.layout(_gvv,'dot') _gv.render(_gvv,'png',"sgs/public/images/grafo.png") return dict()
def readstring(*args): return _gv.readstring(*args)
def readstring(string): return _gv.readstring(string)