export_data

classmethod JSONGraphFormat.export_data(network, filename='')[source]

Write the network to disk as a JGF file.

Parameters
  • network (GenericNetwork) –

  • filename (str) – Desired file name, defaults to network name if not given