Problem Type (问题类型)
configs (配置项 / 文档相关)
Before submit
Environment (环境信息)
server: 1.0
jdk: 11
Your Question (问题描述)
不同的顶点使用相同的边,比如 用图表示多个家庭:每个家庭有自己的父亲和自己的仔仔,他们有相同的边就是: 父子。创建相同的边的时候就会提示:The edge label '父子' has existed
String edge = "父子";
schema.edgeLabel(edge).sourceLabel("张三")
.targetLabel("张小明")
.properties(edge)
.ifNotExist()
.create();
schema.edgeLabel(edge).sourceLabel("李四")
.targetLabel("李二狗")
.properties(edge)
.ifNotExist()
.create();
创建第二个的时候就会出错,不知道描述清楚没有
Vertex/Edge example (问题点 / 边数据举例)
No response
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
No response
Problem Type (问题类型)
configs (配置项 / 文档相关)
Before submit
Environment (环境信息)
server: 1.0
jdk: 11
Your Question (问题描述)
不同的顶点使用相同的边,比如 用图表示多个家庭:每个家庭有自己的父亲和自己的仔仔,他们有相同的边就是: 父子。创建相同的边的时候就会提示:The edge label '父子' has existed
创建第二个的时候就会出错,不知道描述清楚没有
Vertex/Edge example (问题点 / 边数据举例)
No response
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
No response