I am working on a project which involves working with graphs extracted from some other source. Currently we are using python's networkx module for analysing the graph.
I am now faced with the task of choosing a format for storing the graphs. Pickle seems to be a good choice for a purely python based solution. However we are now in the prototyping stage and there is a significant chance that we will have to switch to C++ for performance and scalability issues.
Therefore I'd like to have my graphs stored in a format widely supported by most graph libraries to minimise the hassle to be faced by future contributors in the project.
Could you please give me some suggestion regarding which format I should use?