I have entered a query:
LOAD CSV FROM "file:///E:/HVR_1.csv" AS row
MERGE (u:Source {id: toInt(row[0])})
MERGE (t:Target {id: toInt(row[1])})
MERGE (u)-[:LinkTo]->(t)
I want to create a unique node with incoming and outgoing links. I don't know where I had gone wrong. As it can be found, there are two nodes with value "4". One is for outgoing and another for incoming. It happens the same with other nodes too. I want to have a single node with all incoming and outgoing relations. Can anyone please help me?

