Results 1 to 5 of 5

Thread: GraphViz in QT QGraphicsview

  1. #1

    Default GraphViz in QT QGraphicsview

    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

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,543
    Thanks
    13
    Thanked 1,577 Times in 1,506 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: GraphViz in QT QGraphicsview

    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.

  3. #3
    Join Date
    Sep 2012
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: GraphViz in QT QGraphicsview

    Hi,

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

    Good luck

  4. #4
    Join Date
    Jul 2016
    Location
    Tunisia
    Posts
    1
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: GraphViz in QT QGraphicsview

    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

  5. #5
    Join Date
    Mar 2011
    Posts
    25
    Thanks
    2
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: GraphViz in QT QGraphicsview

    you could look at qvge as well: https://sourceforge.net/projects/qvge/

Similar Threads

  1. Replies: 7
    Last Post: 1st December 2011, 16:24
  2. QGraphicsView transparent over another QGraphicsView
    By evergreen in forum Qt Programming
    Replies: 0
    Last Post: 30th May 2011, 10:22
  3. Replies: 0
    Last Post: 10th January 2011, 09:42
  4. QGraphicsView
    By emrares in forum Newbie
    Replies: 2
    Last Post: 1st November 2010, 13:16
  5. About QGraphicsView
    By paolom in forum Qt Programming
    Replies: 5
    Last Post: 28th September 2010, 04:32

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.