What's the best way to filter a path based on a Vertex property.
I am using the gremlin-scala lib.
This is the code:
val paths = startVertex.asScala().start()
.repeat(_.outE().inV().simplePath())
.until(_.is(endVertex.vertex))
.path()
.toList()
This works great. Now I want to add a filter that will filter out any Vertexes (even those in between start and end) in the path where property("num") > 50.
Seems that the filter API is only for the End Vertex?