graph - How to add bidirectional edge using Rexster? -
i'm using rexster create edge between 2 vertex using http post method.
/graphs/<graph>/edges/3?_outv=<id>&_label=friend&_inv=2&<key>=<key'>
i'm referring link :
here need provide out vertex (i.e _outv ) , in vertex (i.e _inv), single direction edge. how can create bi-directional edge using rexster.
tinkerpop doesn't support bi-directional edge type part of blueprints (or tinkerpop 3.x). you'd have simulate bi-directionality adding edge in opposing direction in 2 separate requests.
/graphs/<graph>/edges/3?_outv=<id>&_label=friend&_inv=2&<key>=<key'> /graphs/<graph>/edges/2?_outv=<id>&_label=friend&_inv=3&<key>=<key'>
Comments
Post a Comment