开发者

Problem with displaying graphs on a Qt canvas

Let's say I'm a Qt newbie. I want a good Qt library for displaying simple graphs. I've found the quanava library. But there is a problem. When I compiled a basic example it looks like graph edges are not painted properly when moving nodes. I don't have any idea where is a bug but this code seem开发者_如何学Gos to be rather simple. I think this is a problem with paint method in NodeItem class. Maybe someone has already solved this problem because this library is quite popular.


I usually go for Qwt for my graphing needs - a bit technical for "office graphs", but still, it works.


+1 for Qwt. It gets the job done, and is pretty configurable. The documentation is weak, but the number of examples are extensive enough to make up for it.


Ok, first of all saying graph i mean mathematical concept G=(V,E). I improved quanava library, which is a very good starting point for graph visualization.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜