Step - simple_path
simple_path · simplePath · category: Filters
Keeps only traversers whose path never repeats an element.
Forms
simple_path()
Example
g.v(1).both().both().simple_path().count().next() // 4
simple_path · simplePath · category: Filters
Keeps only traversers whose path never repeats an element.
simple_path()
g.v(1).both().both().simple_path().count().next() // 4