We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(6)
我对此没有任何经验,但 tulip 似乎就是为此而设计的。
I don't have any experience with it, but tulip seems to be made for that.
也许PyOpenGL?它可以与wxPython一起使用。
编辑: 刚刚尝试了没有任何优化的性能,绘制 100k 个顶点需要 0.2 秒,绘制 1M 条边需要 4 秒。
Maybe PyOpenGL? It can be used together with wxPython.
Edit: Just tried the performance without any optimization, it takes 0.2s to draw 100k vertices and 4s to draw 1M edges.
您应该在官方 wxPython 邮件列表上询问。那里有人可能可以帮助您。但令我惊讶的是 matplotlib 无法做到这一点。它可能只需要您以某种方式重组代码。目前,在 wxPython 中绘图的主要方法是通过各种 DC、FloatCanvas 小部件之一或用于绘图的 wx.Plot 或 matplotlib。
You should ask on the official wxPython mailing list. There are people there that can probably help you. I am surprised that matplotlib isn't able to do this though. It may just require you to restructure your code in some way. Right now, the main ways to draw in wxPython are via the various DCs, one of the FloatCanvas widgets or for graphing, wx.Plot or matplotlib.
您考虑过 graphviz 吗?尽管它从一开始就被设计为处理非常大的图(尽管 1M 边可能超出了它的能力),但它不是交互式的。
有一个 python 模块(pydot)可以使与 graphviz 的交互变得简单。再说一遍,不能肯定地说它会扩展到您的水平。然而,应该很容易发现:两者的安装都很简单。
嗯。
Have you considered graphviz? Not interactive although it was designed from the outset to handle very large graphs (although 1M edges may be beyond even it's capabilities).
There's a python module (pydot) that makes interacting with graphviz simple. Again, can't say for sure it'll scale to your levels. However, it should be easy to find out: installation of both is simple.
hth.
您是否考虑过使用 ParaView 或 访问?这是两个交互式绘图程序,旨在处理和绘制(非常!)大数据集。它们都有一个 Python 脚本接口,因此您可以在 Python 解释器中自动化/控制您的可视化。
Have you considered using ParaView or VisIt? These are two interactive plotting programs which are designed to deal with and plot (very!) large data sets. They both also have a Python scripting interface, so you can automate/control your visualizations from within the Python interpreter.
您尝试过 Gephi 吗?
我相信它的扩展性非常好。
Have you tried Gephi ?
I believe it scales very well.