specless.io.save_graph

specless.io.save_graph(graph: MultiDiGraph, filepath: str) None[source]

Save a class that is derived from a networkx MultiDiGraph to a file.

Parameters:
  • graph (nx.MultiDiGraph) – The graph to save.

  • filepath (str) – The path to the file where the graph will be saved.