Skip to content

Commit

Permalink
docs: add animation in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciopoppe committed Dec 16, 2023
1 parent 0f2a2c6 commit 94d9815
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<p align="center">
<a href="http://mauriciopoppe.github.io/greuler/">
<img src="./public/src/banner.svg" alt="greuler logo">
<img src="./public/src/animation.gif" alt="greuler logo">
</a>
</p>

Expand Down Expand Up @@ -39,17 +40,33 @@ or
```js
import greuler from 'greuler'
greuler({
// options in the homepage
})
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()
```

## Examples
## API and Examples

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

## License

2021 MIT © Mauricio Poppe
2023 MIT © Mauricio Poppe

[npm-image]: https://img.shields.io/npm/v/greuler.svg?style=flat
[npm-url]: https://npmjs.org/package/greuler
Binary file added public/src/animation.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 94d9815

Please sign in to comment.