dagre-layout
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/dagre-layout package

0.8.8 • Public • Published

dagre-layout - Graph layout for JavaScript

Build Status Coverage Status

This project is an out-of-box replacement for dagre.

This project isn't built from scratch. It's based on the original 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.

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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.8.82,362latest

Version History

VersionDownloads (Last 7 Days)Published
0.8.82,362
0.8.70
0.8.67
0.8.50
0.8.46
0.8.21
0.8.057
0.7.100
0.7.92
0.7.80
0.7.71
0.7.62
0.7.50

Package Sidebar

Install

npm i dagre-layout

Weekly Downloads

2,438

Version

0.8.8

License

MIT

Unpacked Size

1.22 MB

Total Files

34

Last publish

Collaborators

  • tylerlong