Example #1
0
	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()
Example #2
0
def layout(*args):
  return _gv.layout(*args)
Example #3
0
def layout(g, engine):
    return _gv.layout(g, engine)