I have a list of vertex ids. I want to get all possible edges among them.
I understand methods like filter/where would be of help here, but since I'm using gremlin-python, their implementation must be different.
I have tried :
a = [0,2,4,6,8,10]
g.V(a).outE().inV().hasId(a).toList()
# This gives me []
g.V(a).bothE().filter(otherV().hasId(a)).toSet()
# Traceback otherV is not defined
g.V(a).bothE().otherV().hasId(a).toList()
# This gives me []
# Some information on edges :
g.E().toList()
# [e[16][0-Likes->8], e[17][8-Likes->0], e[18][4-Likes->8], e[19][2-Likes->6], e[20][6-Likes->2], e[21][12-Likes->10], e[22][10-Likes->12], e[23][10-Likes->14], e[24][14-Likes->8], e[25][6-Likes->4]]
How can I achieve this? It seems like an easy problem, but still I am stuck on it.