我使用Rexster使用HTTP方法在两个顶点之间创建边缘。
/graphs/<graph>/edges/3?_outV=<id>&_label=friend&_inV=2&<key>=<key'>我指的是链接:
这里我需要提供顶点(即_outV )和顶点(即_inV),这是一个单向边。如何使用Rexster创建双向边缘。
发布于 2016-02-08 11:15:20
TinkerPop不支持作为蓝图 (或TinkerPop 3.x)一部分的双向边缘类型。您必须模拟双向性,在两个不同的请求中在相反的方向添加边缘。
/graphs/<graph>/edges/3?_outV=<id>&_label=friend&_inV=2&<key>=<key'>
/graphs/<graph>/edges/2?_outV=<id>&_label=friend&_inV=3&<key>=<key'>https://stackoverflow.com/questions/35264195
复制相似问题