Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an example where a path includes constant modulators #249

Open
krlawrence opened this issue Nov 24, 2022 · 0 comments
Open

Add an example where a path includes constant modulators #249

krlawrence opened this issue Nov 24, 2022 · 0 comments

Comments

@krlawrence
Copy link
Owner

Add an example such as

gremlin> g.V().has('code','YPO').outE().inV().outE().inV().simplePath().path().by(constant(0)).by('dist')
==>[0,188,0,55,0]
gremlin> g.V().has('code','YPO').outE().inV().outE().inV().simplePath().path().by(constant(0)).by('dist').sum(local)
==>243  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Medium Priority
Development

No branches or pull requests

1 participant