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