pymnet.write_json

pymnet.write_json(net, outputfile=None)

Write a multiplex network with a single aspect in a JSON format.

Parameters:
net: MultiplexNetwork

The MultiplexNetwork object to write.

outputfile: str

The name of the file to write to.