I have been pushing several times the same relationship between 2 nodes in Neo4j. It was a mistake as it makes the visualization less clear.
Now, I would like to replace those several relations between 2 nodes by one single relation. It would be great if we could keep the number of relations inside a property "count" on the new unique relation.
What would be an efficient way to solve this problem ? I have about 100 000 of relations and I am a bit worried about the time it would take.
Here is a quick example to make the problem clearer : I have :
Node A -- R1 -- Node B
Node A -- R2 -- Node B
And I would like to have
Node A -- R {count : 2} -- Node B
Thanks!