I'm familiar with using graph.io(graphson()).writeGraph("/tmp/graph.json") or graph.io(graphml()).writeGraph("/tmp/graph.xml") to create json or xml files which can later be used to repopulate a Titan Graph.
Is there a way to generate a series of gremlin graph statements in the same way that can be played back to recreate a graph?
e.g.
graph.addVertex(...)
graph.addEdge(...)