Tag Archives: graphviz

How not to maintain an API

So I’ve been working on my graphing code for EDB.¬† I was eventually able create a Qt widget which natively¬† renders a graphviz graph layout. It actually works quite nicely, you can create an ordinary graphviz graph either in memory or from a file like usual.¬† The code can simply create a “GraphWidget” and the code will display the graph perfectly (there are some constructs which it doesn’t support, but the basics are there) with nice things such as zooming and rotating.

All of this works great, except for the fact that graphviz decided to change some of the structures used to represent the layed out graph.

Continue reading