DotNet4Neo4j / Neo4jClient

.NET client binding for Neo4j
https://www.nuget.org/packages/Neo4jClient
Microsoft Public License
431 stars 146 forks source link

How to use path finden #188

Closed BoasE closed 8 years ago

BoasE commented 8 years ago

When I look at this http://neo4j.com/docs/stable/rest-api-graph-algos.html#rest-api-execute-a-dijkstra-algorithm-and-get-a-single-path I cann see that I can use some pathfinding alogrithms like dijkstra.

Currently I can't figer out how to do this with the Neo4J Client. Would I have to do this using the rest interface or is there a build API I'm overseeing?

cskardon commented 8 years ago

I'm unaware of anyway to achieve this using the Client - there appear to be options with using Dijkstra in Cypher - (http://stackoverflow.com/questions/27361239/how-to-implement-dijkstras-algorithm-in-neo4j-using-cypher).

From the looks of it, someone has written a Dijkstra stored proc for Neo4j 3.0 (https://github.com/neo4j-contrib/neo4j-apoc-procedures/search?utf8=%E2%9C%93&q=dijkstra) in terms of how you call it - it's worth reading the docs - but once installed/added to neo, it's just like using normal Cypher.

The docs on the home page of APOC should help: https://github.com/neo4j-contrib/neo4j-apoc-procedures

cskardon commented 8 years ago

I'm closing this as I can't see anyway to go forward, please re-open if you disagree!