Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Alternative library to graphviz for layouting directed/undirected graphs?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 doeme   Members   -  Reputation: 718

Like
1Likes
Like

Posted 30 January 2014 - 09:34 AM

Hi all,

 

I'm looking for an alternative library to graphviz for layouting directed and undirected graphs similar to this one (http://ostatic.com/files/images/3_6_1.png) to be displayed in a Qt app.

 

Essentially the same concept as this article: http://www.mupuf.org/blog/2010/07/08/how_to_use_graphviz_to_draw_graphs_in_a_qt_graphics_scene/

 

The tool lets the user interactively move the nodes around and I currently use graphviz as a C++ library to do the layouting. Everything works as it should. Unfortunately the product this viewer is in evolved to 64bit and there is no 64 bit package of the graphviz-DLLs provided.

 

I tried to compile graphviz myself, but after three days of fiddling I'm still not able to even build it.

 

Does anybody know a library for layouting diagrams that has roughly the same functionality as graphviz?

 

I'm currently trying out boost graph, which works fine for placing the nodes, but I didn't find any help in computing the connecting edges as splines or angled connector in a way that they don't go through an existing node.

 

Any idea on another library or help with either compiling graphviz or using boost would be highly welcome.



Sponsor:

#2 doeme   Members   -  Reputation: 718

Like
1Likes
Like

Posted 04 February 2014 - 04:16 AM

So I finally found the Open Graph Drawing Framework (http://www.ogdf.net/doku.php) which does the job nicely.

 

It compiles out of the box and is easy to integrate in an existing project






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS