save_graph()
Save a class that is derived from a networkx MultiDiGraph to a file.
graph (nx.MultiDiGraph) – The graph to save.
filepath (str) – The path to the file where the graph will be saved.