https://github.com/tylingsoft/dagre-layout
Out-of-box replacement for dagrejs/dagre
https://github.com/tylingsoft/dagre-layout
dagre
Last synced: 12 months ago
JSON representation
Out-of-box replacement for dagrejs/dagre
- Host: GitHub
- URL: https://github.com/tylingsoft/dagre-layout
- Owner: tylingsoft
- License: mit
- Created: 2017-09-05T13:27:06.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T20:22:22.000Z (over 3 years ago)
- Last Synced: 2025-04-14T18:58:05.313Z (about 1 year ago)
- Topics: dagre
- Language: JavaScript
- Homepage:
- Size: 2.79 MB
- Stars: 34
- Watchers: 5
- Forks: 5
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dagre-layout - Graph layout for JavaScript
[](http://travis-ci.org/tylingsoft/dagre-layout)
[](https://coveralls.io/github/tylingsoft/dagre-layout?branch=master)
This project is an out-of-box replacement for [dagre](https://github.com/dagrejs/dagre).
This project isn't built from scratch. It's based on the original [dagre](https://github.com/dagrejs/dagre) project.
Dagre is a JavaScript library that makes it easy to lay out directed graphs on the client-side.
For more details, including examples and configuration options, please see our [wiki](https://github.com/dagrejs/dagre/wiki).
## Changes compared to dagrejs/dagre
- Upgrade all the dependencies (loadash 3 => 4)
- Yarn instead of NPM
- Get rid of PhantomJS
- ES6 instead of ES5
- Use webpack instead of browserify
- Use JavaScript Standard Style instead of JSHint
- Use Jest for testing
- Add test coverage report
- Remove Bower support
- Use 0 instead of `Number.NEGATIVE_INFINITY`
- Git ignore auto-generated code
## Setup
```
yarn install
```
## Build
```
yarn build
```
## Test
```
yarn test
```
## License
dagre-layout is licensed under the terms of the MIT License. See the LICENSE file for details.