This question asks about storing a single graph in a relational database. The solution is clear in that case: one table for nodes, one table for edges.
I have a graph data structure that evolves over time, so I would like to store "snapshots" of this graph in a database. I imagine having hundreds of such snapshots.
One solution is to create a whole new table pair of nodes and edges (as above) for each snapshot. Is there a better solution?
EDIT: It was asked what I would like to do with this database. I believe that I will not be doing any querying except to dump all of the graphs to MySQL from C++ and then load it all back into C++ data structures. So I'm looking to use MySQL for storage and not for efficient random access / searching.