Step - to_graph
to_graph · toGraph · category: Running and showing results
Runs the traversal and builds a new graph from the edges it yields, both endpoints included (Graphersal terminal).
Forms
to_graph()
Example
g.v(1).out_e().to_graph().v().count().next() // 4