Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mauriciopoppe/greuler

Graph theory visualizations
https://github.com/mauriciopoppe/greuler

edges graph graph-theory graph-traversal network nodes vertices

Last synced: 1 day ago
JSON representation

Graph theory visualizations

Awesome Lists containing this project

README

        



greuler logo



NPM





js-standard-style

---

greuler is graph theory visualization tool powered by d3
and on top of WebCola
which allows the creation and manipulation of graphs with a simple API.


greuler

## Installation

```sh
npm install greuler
```

or

```html

```

## Usage

```js
import greuler from 'greuler'
greuler({
nodes: [
{ id: 0 },
{ id: 1 },
{ id: 2 },
{ id: 3 },
{ id: 4 },
{ id: 5 }
],
edges: [
{ source: 0, target: 1 },
{ source: 0, target: 2, directed: true },
{ source: 0, target: 3 },
{ source: 1, target: 2, directed: true },
{ source: 4, target: 0 },
{ source: 5, target: 0, directed: true },
{ source: 4, target: 5 }
]
}).update()
```

## API and Examples

Check out the examples and API at the [`homepage`](http://mauriciopoppe.github.io/greuler/)

## License

2023 MIT © Mauricio Poppe

[npm-image]: https://img.shields.io/npm/v/greuler.svg?style=flat
[npm-url]: https://npmjs.org/package/greuler