slygren
slygren
JJanusGraph
Created by slygren on 9/10/2023 in #questions
Preservation of order for LIST property
Hi, Does janusgraph guarantee a preservation of order for a LIST cardinality property on query (i.e., FIFO)?
4 replies
JJanusGraph
Created by slygren on 8/3/2023 in #questions
Exhaust all paths between two or more vertices
Is there some way to go on a path finding mission with repeat().until() type construct that avoids the early stop observed while the until condition is first met? That is, without skipping .until() for .times().
2 replies
JJanusGraph
Created by slygren on 8/2/2023 in #questions
Find all paths between two vertices
Not sure this makes any sense, but here goes. Could someone please provide a solution to how one would avoid dead-end paths to be traversed, i.e., how can one avoid multistep traversals following .bothE().otherV() to return to self? Here's my non-working query g.V().has('lbl', 'DexpiElement').has('tagname', 'tagA') \ .emit() \ .repeat( \ bothE().has('lbl', within('HAS_CHILD', 'HAS_CONNECTION', 'HAS_NODE', 'CONNECTED_TO', 'MAIN_CONNECTED_FROM', 'MAIN_CONNECTED_TO', 'HAS_GRAPHICS')).dedup().otherV().simplePath() \ ) \ .until(has('lbl', 'DexpiElement').has('tagname', 'tagB')) \ .simplePath() \ .has('lbl', 'DexpiElementGraphic') \ .valueMap()
28 replies