The apoc procedure library
<https://neo4j-contrib.github.io/neo4j-apoc-procedures/#_graph_refactoring>
has a number of such graph refactorings, that can redirect relationships in
one go.

You can also join neo4j.com/slack and ask there.

HTH

Michael

On Tue, Dec 20, 2016 at 9:15 PM, <[email protected]> wrote:

> Hi,
>
> I'm new to graph database, and we want to use it as a way to store all the
> dependencies. I'm trying to see if there is a way which i can update the
> relationship of a node all in once without doing tons of deletes and merge.
> For example: both node a and node b are linked to c and is there a way i
> can update all the relationship (remove linked and add node e and link to
> c) to one node all in once?
>
> I have thought about create a lock object for write request and block the
> read/write until the lock is released but this is just ugly.
>
> Thanx,
> Yan
>
> --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to