I have a huge graph with about 5000 nodes that I made it with networkX. It takes about 30 seconds to create this graph each time I execute my script. After this relatively long time I can run my analysis like shortest_path and so on.
My question is, is there any way to store the object of this graph in file or something like this and each time I run my script, networkX read that file and load all of my graph?