Skip to content

hikerpig/dagre-layout

 
 

Repository files navigation

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.

About

Out-of-box replacement for dagrejs/dagre

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 51.6%
  • TypeScript 48.4%