Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Excluding some properties from the export

Help
2012-08-29
2013-04-20
  • Hi,

    In order to help me debug an algorithm I've written, I need to save the graph (in .tlp format) to a file every N iterations.

    Since my data are quite heavy, I would like to specify which properties to save.

    Is there a way to specify this ?

    Thanks

    Cyrille

     
  • David Auber
    David Auber
    2012-10-25

    No there is no way to do that at the moment.
    However, if you use the << operator in a filestream,  you may be able to do it.

    Graph *g; your graph

    cout << g; //it should output only your graph in tlp format.
    to open your graph directly in tulip you'll have to add the tulip file header.