I'm using the networkx in python to creat a lot of graphs,and after this I need to use the Isomorphic algorithm to process them.Is there a way to save all these graph together for later retrieval like create a list for them?
Here is an example graph:
import networkx as nx G = nx.Graph() G.add_node(0, label='H') G.add_node(1, label='P') G.add_node(2, label='H') G.add_edge(0, 1, weight=2) G.add_edge(0, 2, weight=8)