Created
July 19, 2016 19:47
-
-
Save langsdlc/553fb496b9e70e39437aac589cfc0fed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start n=node(1779), p=node(1645) | |
match s=shortestpath((n)-[r]-(p)) | |
return n,r,p | |
start n=node(1779), p=node(1645) | |
match s=shortestpath((n)-[r]-(p)) | |
return reduce(totalDistance = 0, n in relationships(s) | totalDistance + n.distance) as feet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment