Search Results for: Constant weight scale
step to specify a constant value for a traverser, use the constant()-step (map). this is often useful with conditional steps like choose()-step or coalesce()-step . console (groovy) groovy gremlin> g.v().choose(haslabel('person'), values('name'), constant('inhuman')) //1\ ==>marko ==>vadas ==>inhuman
:0.5] ==>[id:8,label:knows,in:[id:4,label:person],out:[id:1,label:person],weight:1.0] ==>[id:9,label:created,in:[id:3,label:software],out:[id:1,label:person],weight:0.4] ==>[id:10,label:created,in:[id:5,label:software],out:[id:4,label:person],weight:1.0] ==>[id:11,label:created,in:[id:3,label:software...
http://tinkerpop.apache.org/docs/current/reference/