graph icon indicating copy to clipboard operation
graph copied to clipboard

Add an example where a path includes constant modulators

Open krlawrence opened this issue 3 years ago • 0 comments

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  

krlawrence avatar Nov 24 '22 04:11 krlawrence