Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/18.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 3.x 如何在windows中使用带有neato样式的graphviz?_Python 3.x_Windows_Graphviz_Neato - Fatal编程技术网

Python 3.x 如何在windows中使用带有neato样式的graphviz?

Python 3.x 如何在windows中使用带有neato样式的graphviz?,python-3.x,windows,graphviz,neato,Python 3.x,Windows,Graphviz,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样式 from graphviz import Graph dot = Graph

我想以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样式

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)