I am using this library for gremlin scala by https://github.com/mpollmeier/gremlin-scala#getting-started.
Here is a use case there is three vertex(A,B,C). Two A,B vertex is already connected with edges name "IS".
Now I want to drop "IS" edge between A,B and connect A to C with edge named "IS" in single gremlin scala query. Earlier I wrote two different gremlin scala query one is for dropping edge and other is for adding edge but I want to combine these two queries in one.