If I remember correctly, TORO comes with some examples (plain ASCII text) that can be used as input to their console application.
To use TORO in C++, you can look at these methods:
-
util3d::optimizeTOROGraph()-
util3d::saveTOROGraph()-
util3d::loadTOROGraph()