A NodeJS implementation of Dijkstra's algorithm
browserify.transform
option to package.json
to allow usage with browserify
- Thanks to @kronickGraph#removeNode
Ability to remove a previously set node from the graph, including all it's referencesThe focus of this release is performance.
The algorithm implementation has been rewritten to use more efficient mechanics.
Graph#path
can now accept a cost
option and return an object containing the cost of the found pathGraph#addVertex
, use Graph#addNode
insteadGraph#shortestPath
, use Graph#path
instead