I am trying to draw complex directed in QT and planning to use GraphViz for layout. Anyone tried "GraphViz on QT QGraphisview" ? Please give me some directions or please let me know if there are any alternatives. My graph should be interactive
I am trying to draw complex directed in QT and planning to use GraphViz for layout. Anyone tried "GraphViz on QT QGraphisview" ? Please give me some directions or please let me know if there are any alternatives. My graph should be interactive
Read the QGraphicsScene and QGraphicsView documentation and study the Graphics View Examples. When you have done this you will have a better idea if/how these features can be used to meet your vague requirement.
Hi,
See my lib at http://code.google.com/p/qgv/
Feel free to improve it.
Good luck
This very simple! tray this example here: http://issamabd.com/pt-net-editor
I used the Boost Graph Library to construct my graph and output it as a DOT file, then I have used GraphViz API to read graph data and layout the graph. Finally I have used QtGraphicView and QtGraphicScene to visualize it.
Just study the source file: graphvisualizer.cpp
you could look at qvge as well: https://sourceforge.net/projects/qvge/
Bookmarks