I am using gremlin REST server in my application and I want to create multiple edges to a vertex in a single query. I have the list of vertex ids from where to create edges to a single vertex.
For eg.- g.V(12,13,14,15).addEdge('uses', g.V(100))
I have tried many traversal steps but cannot get it to work.
You should look at the
addE()
step - here's one example for you can do it: