My gremlin query looks like this:
g.V.has('someProp','A').as('x').in.loop('x'){it.loops<100}{true}.path()
the result:
==>[v[768], v[1792]]
==>[v[768], v[1536]]
==>[v[768], v[1792], v[2048]]
==>[v[768], v[1792], v[2048], v[2304]]
But I don't want the intermediary paths in the result. I need just two complete paths: eg.:
==>[v[768], v[1536]]
==>[v[768], v[1792], v[2048], v[2304]]
Any ideas?