create a transaction interface, with a reference to a transactional graph
transactional graph has methods for creating transactions etc
With this, in Neo4j we have Neo4jUntypedGraph which returns a wrapped Neo4j transaction while for titan we can make the graph itself implement both untyped graph and transaction
A better approach would be
With this, in Neo4j we have Neo4jUntypedGraph which returns a wrapped Neo4j transaction while for titan we can make the graph itself implement both untyped graph and transaction