@pintora/dagre
TypeScript icon, indicating that this package has built-in type declarations

0.10.10 • Public • Published

dagre-layout - Graph layout for JavaScript

Build Status codecov

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

Based on the original dagre and Tyler's dagre-layout.

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 the wiki.

Changes compared to dagrejs/dagre

  • Upgrade all the dependencies (loadash 3 => 4)
  • PNPM instead of NPM
  • Get rid of PhantomJS
  • Written in Typescript
  • Use rollup instead of browserify
  • Use Jest for testing
  • Add test coverage report
  • Remove Bower support
  • Use 0 instead of Number.NEGATIVE_INFINITY
  • Git ignore auto-generated code
  • Others mentioned in the CHANGELOG.md

Setup

pnpm install

Build

pnpm build

Test

pnpm test

License

dagre-layout is licensed under the terms of the MIT License. See the LICENSE file for details.

Readme

Keywords

Package Sidebar

Install

npm i @pintora/dagre

Weekly Downloads

68

Version

0.10.10

License

MIT

Unpacked Size

857 kB

Total Files

35

Last publish

Collaborators

  • hikerpig