code: def make_gdf_graph(filename, stop=True):
      
      if stop:
          stop_trace()
  
      try:
          f = open(filename, 'w')
          f.write(get_gdf())
      finally:
          if f: f.close()
docs: Create a graph in simple GDF format, suitable for feeding into Gephi,
      or some other graph manipulation and display tool. Setting stop to True
      will stop the current trace.