Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tcort/dijkstrajs

A simple JavaScript implementation of Dijkstra's single-source shortest-paths algorithm.
https://github.com/tcort/dijkstrajs

dijkstra javascript shortest-paths

Last synced: 4 days ago
JSON representation

A simple JavaScript implementation of Dijkstra's single-source shortest-paths algorithm.

Awesome Lists containing this project

README

        

# dijkstrajs.js

dijkstrajs is a simple JavaScript implementation of Dijkstra's single-source shortest-paths algorithm.

The code was originally written by Wyatt Baldwin and turned into a node module by Thomas Cort.

## Requirements

* [nodejs](http://nodejs.org/)

## Installation

npm install dijkstrajs

## Examples

See `test/dijkstra.test.js` in the sources for some example code.