network_to_jsongraph#

network_to_jsongraph(network, filename='')[source]#

Write the network to disk as a JGF file.

Parameters:
  • network (Network)

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