Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
03-30-2021 10:15 AM
I have two separate graphs in a Neo4j instance. These two graphs have some identical nodes and relationships. I wish to take the union of these two graphs such that it merges into a single graph with unique nodes and relationships ( initially each graph has unique nodes and relationships ).
I tried searching the internet but couldn't find a suitable answer. Can anyone suggest any resource/algorithm/pseudo-code to merge the two graphs?
Thanks
04-01-2021 04:46 AM
Hello,
Never tried that, but maybe have a look at the mergeNodes procedure in the APOC library ? Doc here : Merge Nodes - APOC Documentation
04-02-2021 07:49 AM
Thanks for the answer. Will have a look at it and see what I can achieve using the methods.
All the sessions of the conference are now available online