简体   繁体   English

python gv vs pygrsphviz

[英]python gv vs pygrsphviz

python noob here. python noob在这里。

I am trying to figure out which module has a lesser learning curve. 我试图弄清楚哪个模块的学习曲线较小。 the gv module which comes as a language bindings with graphviz or pygraphviz. gv模块,它是与graphviz或pygraphviz绑定的语言。

does pygraphviz internally use gv warranting me to install both? pygraphviz内部使用gv保证可以同时安装两者吗?

http://www.graphviz.org/pdf/gv.3python.pdf http://www.graphviz.org/pdf/gv.3python.pdf

thanks 谢谢

Use networkx which is a widely accepted graph package in Python, together with its pydot or matplotlib interfaces, in particular the inline drawing capabilities. 使用networkx它是Python中广泛接受的图形包)及其pydotmatplotlib接口,尤其是内联绘图功能。 See also this question . 另请参阅此问题

I liked pydot and then used the output to either pipe it into graphviz (dot) or used the builtin spawn methods. 我喜欢pydot ,然后使用输出将其通过管道连接到graphviz(点)或使用内置的spawn方法。 It had a simpler interface in my opinion. 我认为它的界面更简单。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM