Representing networks We use networkx's built in function to save each variant of the network in json. This allow us to use the json file for visualisation.