This seems simple and I am sure it is, but everything is simple if you know how and.. well.. sigh.
lets say I have this;
merge (N1:Node1{name:"N1"})-[r:pointsTo]->(X1:NodeX{name:"X1"})
create (X2:NodeX{name:"X2"})
merge (N1)-[:pointsTo]->(X2)
create (X3:NodeX{name:"X3"})
merge (N1)-[:pointsTo]->(X3)
with N1, X2, X3
match (n:NodeX)-[r]->(x) return n, r, x
now take all the pointsTo relationships and attach them to a new node, say
match (n:NodeX)-[r]-() return r gives me all the relationships
now what.. ?? i need to take those r's and assign them to a new node and detach them from the old node...
sorry for the stupid question.. and thanks for showing me the light out of my tunnel of misery.. hopefully i can do something for you guys