Tinkerpop/gremlin merge vertices (and edges)
Is there an easy way to replace or merge vertices and keep/merge existing edges? Or just manually copy all properties from the vertex and recreate existing edges and all (meta-)properties and then drop the superfluous vertex? Alright, as mentioned in the comments above, you're going to do the matching in OLTP. That means you'll likely have a concrete entry point. Let's make up a simple sample graph: g = TinkerGraph.open().traversal() // Stackoverflow data g.addV("user").property("login", "user3508638").as("a"). addV("user").property("login", "dkuppitz").property("age", 35).as("b"). addV(