Hi Loic, Take a look at boost/graph/adjacency_list_io.hpp and libs/graph/example/adjacency_list_io.cpp.
Also there are functions to read and write graphs in the graphviz format... though the primary reason for that format is for creating postscript displays of graphs, not for persistence. Cheers, Jeremy On Tue, 14 Jan 2003, loic d'Anterroches wrote: moteur> Hello, moteur> moteur> After looking into the mailing list archives, the documentation moteur> and over the net, I haven't find the answer to my question, that moteur> is why I ask you. moteur> moteur> I want to save a graph in a file to restore the state of my moteur> algorithm later. For example I have a graph with complete family moteur> (like in family-tree-eg.cpp) I want to save it, then restore it to moteur> add new members. I am coming from FORTRAN, so the objects are not moteur> so complex, it is quite easy to save matrix etc... Here, how to moteur> serialize my graph with the properties attached to edge and vertix moteur> easily? Like the serialization process of MFC (I am using VC++ 6)? moteur> I feel a little bit stupid, especially because, it seams that moteur> nobody has asked this question before! moteur> moteur> Thank you for your help, moteur> loic d'Anterroches ---------------------------------------------------------------------- Jeremy Siek http://php.indiana.edu/~jsiek/ Ph.D. Student, Indiana Univ. B'ton email: [EMAIL PROTECTED] C++ Booster (http://www.boost.org) office phone: (812) 855-3608 ---------------------------------------------------------------------- _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost