开发者

Draw dynamic graph on python

开发者 https://www.devze.com 2023-03-06 01:17 出处:网络
I am trying to draw a dynamic graph which I want to control ( moving edges or nodes, update data of edges or nodes, click on edge to show more information...).

I am trying to draw a dynamic graph which I want to control ( moving edges or nodes, update data of edges or nodes, click on edge to show more information...). I have tried several programs and packages like prefuse, networkx and also processing. But with these, we cannot control edges (onClick listener for exemple) we can just control nodes. I have also a little problem because I am using python to p开发者_如何学编程arse the data and binding languages is a new thing for me , I have tried Jython with processing which was really slow... I will appreciated any help of you Thank you!


Take a look at this example

http://developer.qt.nokia.com/doc/qt-4.8/graphicsview-elasticnodes.html

You should be able to make the same using Python Binding for C++/Qt aka PyQt or Pyside. It should run and render much faster.

0

精彩评论

暂无评论...
验证码 换一张
取 消