Interactive Python Network/Graph Modeling

南笙酒味 提交于 2019-12-20 18:31:08

问题


I'm looking for a python library that will allow me to interactively draw networks and graphs and attach data to nodes and edges.

I have found two libraries for Java that seem to do what I need: JUNG and piccolo2d. Are there any python equivalents to these?


回答1:


Have a look at:

  • matplotlib - Here are some graphs made with it.
  • networkx
  • igraph



回答2:


Using GNU/Radio Companion, I was able to accomplish what I needed by performing some extensions here and there.

It is not the best solution since it introduces some ugly dependencies, but it works for now.




回答3:


I've got an example of doing this here: http://brandonrose.org/ner2sna

I show how you can auto-generate a D3.js chart using Python.



来源:https://stackoverflow.com/questions/5718204/interactive-python-network-graph-modeling

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!