I want to merge a graph into my graph database using py2neo. My question is can we make a graph object, add all the required nodes and relationships and then using the merge function of object which is an instance of my graphdatabase, merge the created graph in graphdatabase?
Asked
Active
Viewed 182 times
0
-
Can you be a bit more specific - what do you mean by merge exactly? What have you tried so far? Can you include some code? – William Lyon Jun 24 '16 at 15:23
1 Answers
0
Yes I was able to merge a subgraph into the main graph database. We can make a subgraph by doing union on all the nodes and relations to be created. And then using graph.merge() we can merge our subgraph into graph. Thank you for considering the question, I found the answer

Nikhil Choubey
- 11
- 3