Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/inwebo/graph.js

ES6 Graph theory implementation
https://github.com/inwebo/graph.js

es6 graph javascript javascript-library

Last synced: 5 days ago
JSON representation

ES6 Graph theory implementation

Awesome Lists containing this project

README

        

# Graph.js

ES6 graph implementation. [See demo page](https://inwebo.github.io/Graph.js/). Reload page for a new representation.

## Graph
![Graph renderer](./docs/assets/img/graph.js.png)
Graph representation :
* nodes : black Circles
* node key : white letters
* bi-directional edges : red
* directed edge : grey

## Installation

### Github
```bash
git clone https://github.com/inwebo/Graph.js.git
```

### Npm
```bash
npm i @inwebo/graph.js
```

## Tests
```bash
yarn test
```

## Web
* [Grids and Graphs from Red Blob Games](https://www.redblobgames.com/pathfinding/grids/graphs.html)
* [Graphs and networks](https://plus.maths.org/content/graphs-and-networks)
* [Wiki](https://en.wikipedia.org/wiki/Graph_(abstract_data_type))

## Change log

`0.0.3` :

* Update back dependencies
* Update demo