How to remove an edge and add a new edge between two vertices?
问题 I'm trying to drop an edge and add a new edge between two vertices. How do I do that in Tinkerpop3? def user = g.V().has("userId", 'iamuser42').has("tenantId", 'testtenant').hasLabel('User'); user.outE("is_invited_to_join").where(otherV().has("groupId", 'test123')).drop(); def group = g.V().has("groupId", 'test123').has("tenantId", 'testtenant').hasLabel('Group').next(); user.addEdge("is_member_of", group); This is the error I get on gremlin shell: No signature of method: org.apache.tinkerpop