cancel
Showing results for 
Search instead for 
Did you mean: 

Create relation type between nodes based on the csv

vence_andersen1
Graph Buddy

So I have 2 CSV file, 1 has details about all the nodes like their names and properties and the other CSV has the type of relation between 2 nodes, there are multiple types of relation between nodes. Eg: A (node) - Parent(relation type) - B(node), A(node) - child(relation type) - C(node), D(node) - sibling(relation type) - D(node).

3X_c_1_c10c3c91154e6a0c748d7dc83ceb2c2195975fed.png

I have also attached a pic, they are the id's representing a node, left is node 1, right is 2nd node, middle is the type of relation.

Can I use this table to define the relation between nodes, i referred Create relationship from CSV on existing nodes to create relation between nodes, but all the realtion types are of same name.

1 ACCEPTED SOLUTION

ameyasoft
Graph Maven

Check this link to create dynamic relationship:

View solution in original post

1 REPLY 1

ameyasoft
Graph Maven

Check this link to create dynamic relationship: