def writeDotRaw(self, filename):
""" Writes the raw dot file (text-file used by dot/neato) with the
representation of the individual
:param filename: the output file, ex: individual.dot
"""
if not HAVE_PYDOT:
utils.raiseException("You must install Pydot to use this feature !")
graph = pydot.Dot(graph_type="digraph")
self.writeDotGraph(graph)
graph.write(filename, prog='dot', format="raw")
# -----------------------------------------------------------------
评论列表
文章目录