PDA

View Full Version : how to represent a graph?



harakiri
4th August 2009, 13:49
hi,

i'm looking for a way to display a graph with nodes, edges and maybe some values attached to the edges.
but i haven't found anything :confused:

an image of the graph would be enough

anyone has an idea?

yogeshgokul
4th August 2009, 13:55
I suggest you go through Qt Exmaples and demos. You will find suitable solution there. Personally I like this (http://doc.trolltech.com/4.3/graphicsview-elasticnodes.html)suitable solution for you.;);)

wagmare
4th August 2009, 14:37
plotter example in chap05 in Prentice.Hall.C++.GUI.Programming.with.Qt.4.2nd.Ed will help u to design graph ..