Update to use the new graphviz API.