to_jsongraph#

to_jsongraph(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