Gtk output, how to use the file ?

I use GraphViz Python and the Pydot library. I try to export my graph to GTK so i used the following command :

graphpy.write("my_graph_dot", format='tk', prog='dot')

I see that the outcome file seems to be a GTK canvas, but i don't know what can i do with this file ?
How can i use this canvas to make a "pop-up" window with my graph inside ?

Recent comments

Syndicate content