In the gremlin console one can easily create an in-memory TinkerGraph to play with (or load one of the sample graphs):
gremlin> graph = TinkerGraph.open()
gremlin> g = graph.traversal()
Is is possible to expose this graph / its traversal source to a GLV (such as gremlin-python)?
I am really surprised that this seems not to be a thing. Using a in-memory TinkerGraph easily in a GLV would:
- allow users to experiment with gremlin in the context of their language of choice,
- be great for analytics (e.g. performing queries on a in-memory copy of a subgraph from some larger graph that resides on a remote database)
- be great for testing (generating graphs on the fly to run tests against)