1

Using TinkerPop3 as the interface to a DSE graph. Is there any easy way to detect cycles in a graph or rather not visit an already visited vertex.

Specifically in my case, There is a "GROUP" vertex and there can be a group of groups. I will like to list all "USERS" in a group of groups.

Sathyakumar Seshachalam
  • 2,013
  • 3
  • 20
  • 32

1 Answers1

1

Have you worked with the Gremlin steps SimplePath or ClyclicPath ? http://tinkerpop.apache.org/docs/3.3.1/reference/#cyclicpath-step

SimplePath sounds like it will do what you are interested in doing.

jlacefie
  • 614
  • 3
  • 5