PDA

View Full Version : GraphViz in QT QGraphicsview



baskar.v
19th January 2012, 02:19
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

ChrisW67
19th January 2012, 05:24
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.

zipoo
9th July 2013, 21:40
Hi,

See my lib at http://code.google.com/p/qgv/
Feel free to improve it.

Good luck

Issamabd
15th July 2016, 19:40
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

Sintegrial
20th February 2018, 07:46
you could look at qvge as well: https://sourceforge.net/projects/qvge/