I want to add weight in relationship property. Weight are counted from this code:
MATCH (n1)-[r1:NEXT]->(n2)
DELETE r1
RETURN n1, n2, apoc.create.vRelationship(n1, 'WEIGHT', {weight:count(r1)}, n2);
But the "WEIGHT" doesn't appear in the property of r1 How can I fix this?