Step - until
until ยท category: Branches and loops
Within repeat(): stops the loop for a traverser when the child traversal yields a result (or the predicate matches).
Forms
until(arg1: any)
Example
g.v(1).repeat(__.out()).until(__.has_label("software")).values("name").to_list() // ["lop", "ripple", "lop"]