Is there any way to create a hypergraph in neo4j?

北慕城南 提交于 2019-12-21 02:43:09

问题


Is there any way to create a hypergraph in neo4j? Or any other db tool for this issue?


回答1:


There is an example for a hypergraph datastructure in the "Graph Databases" book (the email chapter example).

And another one in the neo4j manual.




回答2:


The usual way is to add an extra node that represents the subgraph, and connect that to all of the subgraph, and then relate to it from elsewhere.



来源:https://stackoverflow.com/questions/20877582/is-there-any-way-to-create-a-hypergraph-in-neo4j

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!