-
May I ask why we introduced it in #3308, please? How is it differentiated from getNeighbors, please? Some background/motivation shared will be appreciated :). update: I realize it's part of the multiple pattern support? cc @CPWstatic |
Beta Was this translation helpful? Give feedback.
Answered by
jievince
May 5, 2022
Replies: 1 comment 1 reply
-
Yes, |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
wey-gu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
GetNeighbors
is a one-hop expand,and
Traverse
is a multi-hop expand.Indeed, the implementation of
Traverse
usesGetNeighbors
to do the expansion of every hop.Yes,
Traverse
is easy to do the pattern like-[:like*1..3]