Hello,
I have to traversal through a graph and select certain vertices, edges with their properties (FROM Graph) and then clone them into new vertices / edges with same properties (but different IDs). I want to do this ideally in same traversal where I'm traversing FROM graph. Is there any gremlin sample code someone can share?
I noticed there used to be ElementHelper.copyProperties() in previous tinkerpop 2.x blueprints, but I don't see such helper method that in latest API.
Hoping there is some other way to do same.