Neo4j graph does not render correctly

57 Views Asked by At

Please see the attached picture. Both the nodes and the relationship are created using merge query such as below.

MERGE (e1:entity1{prop:'propvalue'}) 
MERGE (e2:entity2{prop:'propvalue'}) 
MERGE (e1)-[:rel]->(e2)

when I query as below, the graph shown is produced.

MATCH (e1:entity1)-[:rel]-(e2:entity2{prop:'propvalue'}) RETURN e1, e2

The arrows are all floating around and don't look well connected, what am I doing wrong? I'm a neophyte in Neo4j. Any help will be greatly appreciated.

0

There are 0 best solutions below