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.


Excluding some properties from the export

  • 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 ?



  • David Auber
    David Auber

    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.