imbajin commented on issue #2393:
URL:
https://github.com/apache/incubator-hugegraph/issues/2393#issuecomment-1859520017
几个点:
1. 例子里不应该使用人的具体实现作为 vertexLabel, 它们应该是一个 vertex 示例 (label 应该是"Person"
这样的抽象), 虽然只是举例, 也提醒一下
2. 你说的类似的 VertexLabel 用相似的 EdgeLabel, 目前比较简单的做法是, 把 EdgeLabel 改个名字, 例如
`parent" 这样的 edgelabel, 替换为
- personParentDog
- dogParentCat
- aParentB (a 和 b 代表两个 vertexLable, 这样可以唯一区分)
3. 更好的设计是增加"父子边"的结构设计, 这个 feature 在下一个版本里会发布
<img width="943" alt="image"
src="https://github.com/apache/incubator-hugegraph/assets/17706099/b9c44163-99c9-4208-85a8-b423b941563b">
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]