For example, given this graph:
gremlin> graph = TinkerFactory.createModern() (1)
==>tinkergraph[vertices:6 edges:6]
gremlin> g = graph.traversal(standard()) (2)
==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard]
gremlin> g.V().has('name','marko').out('knows').values('name') (3)
I want to print out a PNG file for this graph from the console. The documentation doesn't say how to do it. Thanks in advance.
TinkerPop doesn't provide graph visualization options directly. The best you can do is either: