Excluding some properties from the export

  • Cyrille Faucheux


    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 - 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.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks