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 :

rexster http

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

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -