【发布时间】:2018-01-25 10:40:47
【问题描述】:
我的问题是我想返回所有的顶点。并获取所有返回的顶点之间的所有路径。
例如,我将获取所有的标签,即人。而且我还想得到顶点之间的所有路径。
顶点:g.V().has('tag','person') 我们如何获得网络路径?
【问题讨论】:
-
def graph=ConfiguredGraphFactory.open("POC"); def g=graph.traversal(); g.V().repeat(bothE().dedup().store('edges').bothV().dedup().store('vertices')).times(1).cap('vertices', 'edges' ') 这是显示 1 度净值。我说的对吗?
标签: graph-databases gremlin tinkerpop3 janusgraph