in particular following the tutorial here: https://kelvinlawrence.net/book/Gremlin-Graph-Guide.html#walk (3.3.2)
I do not understand this statement outE().inV()
Taken from g.V().has('airport','code','LCY').outE().inV().path()
The explanation is:
"Start at the LCY vertex, find all outgoing edges and also find all of the vertices that are on the other ends of those edges". The inV step gives us the vertex at the other end of the outgoing edge.
and then in 3.3. Starting to walk the graph we find in Table 1 the following definition:
outV Outgoing vertex.
inV Incoming vertex.
How on earth Incoming vertex = the vertex at the other end of the outgoing edge
If anything, i would think that the vertex at the other end of the outgoing edge if the OutV and not InV.
Hence can someone clarify the meaning of both inV and outV ?
Are we saying that if i have a directed Edge A -> B, the incoming vertex of that Edge, is B, and the Outgoing Vertex of that Edge is A ? Not sure, but if so, how the basis of that terminology, it sounds counter intuitive as it sees to be the opposite when working with Vertex.