I want to output the properties for both edges and vertexes in a tree started on a given vertex. This is what I have so far:
g.V()
.has('id', 'abc')
.repeat(
outE().as('edges').inV().as('vertexes').simplePath()
)
.emit()
.select(
'edges',
'components'
)
It seems to traverse and return the edges and vertexes a single branch, rather than getting for all branches.
I've not decided on the server yet so this needs to work in both Cosmos and Tinkertop for now