Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dijkstra algorithm support #31

Open
flipside opened this issue Jun 29, 2012 · 4 comments
Open

dijkstra algorithm support #31

flipside opened this issue Jun 29, 2012 · 4 comments

Comments

@flipside
Copy link
Contributor

I'm looking into using neo4j's built in dijkstra algorithm, it looked like there's already some support in node-neo4j for shortest path but dijkstra support would be great.

@aseemk
Copy link
Member

aseemk commented Jul 2, 2012

Sorry for the delay @flipside, but great request! We support passing 'dijkstra' as an optional algorithm parameter to the Node::path() method:

https://github.com/thingdom/node-neo4j/blob/0.2.13/lib/Node._coffee#L202

But I didn't realize that full Dijkstra support requires passing an additional cost_property parameter.

I think the signature of the path() method should probably be changed to accept an options hash now instead of a bunch of parameters.

Thanks again — and pull request welcome!

@flipside
Copy link
Contributor Author

realized i don't actually need this yet but if i do, will take a crack at it.

@hackintoshrao
Copy link

This issue has been open from 2 years now !! Thats not good , give me some clue about how to start with it , i could fix this .

@aseemk
Copy link
Member

aseemk commented Oct 12, 2015

Sorry for the delay @Karthic-Hackintosh.

Good news: it's now possible to achieve this in node-neo4j v2, even though it's not implemented directly, because you can now make arbitrary & custom HTTP / REST API calls (issue #100).

https://github.com/thingdom/node-neo4j/tree/v2#http--plugins

So I'm going to go ahead mark this issue as fixed in v2. Let me know if you have any q's!

@aseemk aseemk added this to the v2 redesign milestone Oct 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants