in
Move to the incoming adjacent vertices, given the edge labels.
Synopsis
in( [edgeLabel] )
Description
The in()
step moves the traversal to the incoming adjacent vertices, given the edge labels.
Specifying no edge label will traverse all incident edges.
Examples
Get all incoming adjacent vertices for all the vertices in the graph:
g.V().in().valueMap()
Get all incoming adjacent vertices for all the vertices with incident edges knows:
g.V().in('knows).valueMap()