Graphviz and wxWidgets?

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
tasdev
Knows some wx things
Knows some wx things
Posts: 29
Joined: Tue Apr 26, 2005 12:18 am
Location: Australia

Graphviz and wxWidgets?

Post by tasdev »

Hi All

I'm about to integrate GraphViz (http://www.graphviz.org) into a wxWidgets based app. I plan to create a dot format string in memory, call agmemread() to turn it into a graph and then call gvRenderData() and finally put that in a wxWidget window using wxBitmap. Some questions:

1) Is there already a wxWidgets component or project that integrates with GraphViz?

2) Has anyone done anything similar? Any tips or hints? Code samples?

3) For the cross-platform side, should I include Cairo/pango? On the Mac I see that one can use Quartz directly, but obviously that won't work on other platforms.

4) Alternatively, should I use xdot as an output format and the wxWdigets painting/drawing calls?

Thanks for any help!
Post Reply