【发布时间】:2018-12-26 10:24:24
【问题描述】:
如何在没有遍历框架的情况下在 neo4j 中进行深度优先遍历。我没有使用嵌入式 neo4j 数据库。
【问题讨论】:
标签: neo4j
如何在没有遍历框架的情况下在 neo4j 中进行深度优先遍历。我没有使用嵌入式 neo4j 数据库。
【问题讨论】:
标签: neo4j
Cypher variable-length expansions应该默认使用dfs(bfs应该只在使用shortestPath()时使用。
否则,在配置映射中使用APOC path expanders (apoc.path.expandConfig()) 和bfs:false。
【讨论】: