dagre-layout

Graph layout for JavaScript

MIT 13 个版本
安装
npm install dagre-layout
yarn add dagre-layout
pnpm add dagre-layout
bun add dagre-layout
README

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.

版本列表
0.8.8 2018-03-20
0.8.7 2018-03-20
0.8.6 2018-03-03
0.8.5 2018-03-01
0.8.4 2018-02-12
0.8.2 2018-02-11
0.8.0 2017-09-08
0.7.10 2017-09-08
0.7.9 2017-09-08
0.7.8 2017-09-06
0.7.7 2017-09-05
0.7.6 2017-09-05
0.7.5 2017-09-05