['Vertex:',
{'id': 91, 'label': 'object1', 'properties': {'name': 1}},
'Vertex:',
{'id': 93, 'label': 'object1', 'properties': {'name': 2}},
'Vertex:',
{'id': 95, 'label': 'object1', 'properties': {'name': 3}}]
['Edge:',
{'id': 97,
'inV': 93,
'inVLabel': 'object1',
'label': 'obs1',
'outV': 91,
'outVLabel': 'object1',
'properties': {'x': 'x1'}},
'Edge:',
{'id': 98,
'inV': 93,
'inVLabel': 'object1',
'label': 'obs1',
'outV': 91,
'outVLabel': 'object1',
'properties': {'x': 'x2'}},
'Edge:',
{'id': 99,
'inV': 95,
'inVLabel': 'object1',
'label': 'obs1',
'outV': 93,
'outVLabel': 'object1',
'properties': {'x': 'x3'}}]
I can do:
g.V(91) or
g.V().has(id,91)
g.V().hasId(91)
resulting in:
['Vertex:', {'id': 91, 'label': 'object1', 'properties': {'name': 1}}]
by I can't do:
g.E(97) or
g.E().has(id,97)
g.E().hasId(97)
They all come back as {'@value': [], '@type': 'g:List'}
I know that using id is not the best way to grab an object, but for quick testing purposes, it can be very handy (as per Tinkerpop documentation where that happens all the time).
Also, I know how the 'true' argument in .valueMap(true) returns all system ids, but I'm unable to refer to them:
e.g., for this edge, give me inV or inVLabel. How do I do that?
Thanks!