What's interesing here is that you can add value to your tool by having a real-time graph representation of your data.
Instead to have a gexf temporary file, you could just use this fonctionnality to import whatever graph to gephi.