code: def usufyToPngExport(d, fPath):
      
      newGraph = _generateGraphData(d)
  
      import matplotlib.pyplot as plt
      # Writing the png file
      nx.draw(newGraph)
      plt.savefig(fPath)
docs: Workaround to export to a png file.
  
      Args:
      -----
          d: Data to export.
          fPath: File path for the output file.