如何在 windows 中使用 neato 风格的 graphviz?
How to use graphviz with neato style in windows?
我想输出neato风格的如下代码
from graphviz import Graph
dot = Graph()
dot.node('a')
dot.node('b')
dot.edge('a', 'b')
print(dot.source)
dot.render('test-output/round-table.gv', view=True)
使用 dot.engine = 'neato'
使用 neato 样式。
dot.graph_attr['layout'] = 'neato'
我想输出neato风格的如下代码
from graphviz import Graph
dot = Graph()
dot.node('a')
dot.node('b')
dot.edge('a', 'b')
print(dot.source)
dot.render('test-output/round-table.gv', view=True)
使用 dot.engine = 'neato'
使用 neato 样式。
dot.graph_attr['layout'] = 'neato'