Neo4j - 如何创建没有空关系名称的关系

Neo4j - How to create a relationship with no null relationship name

我想在没有关系名称的节点之间创建关系。

我一直在尝试这个:

LOAD CSV WITH HEADERS FROM 
"file:///trace_function_ec_souscription.csv" AS line
MERGE (entity1:Entity{name:line.Parent_Method_Name})
MERGE (entity2:Entity{name:line.Package_Name})
MERGE (entity1)-[]->(entity2)

因此关系将没有名称。 但是我收到以下错误:

Neo.ClientError.Statement.SyntaxError: Exactly one relationship type must be specified for MERGE. Did you forget to prefix your relationship type with a ':'? (line 5, column 16 (offset: 196)) "MERGE (entity1)-[]->(entity2)"

如果这不可能,是否可以在获取图形时删除关系名称? 只有箭头符号会在那里!

还有一件事我可以让箭头 (>) 比默认箭头大一点吗?

如有任何帮助,我们将不胜感激。

提前致谢!

我已经能够使用以下方法实现此目的:

LOAD CSV WITH HEADERS FROM 
"file:///trace_function_ec_souscription.csv" AS line
MERGE (entity1:Entity{name:line.Parent_Method_Name})
MERGE (entity2:Entity{name:line.Package_Name})
MERGE (entity1)-[:` `]->(entity2)

-所以基本上什么都没显示