dagre-d3-es
The [dagrejs](https://github.com/dagrejs) library exported as [ES](https://262.ecma-international.org/6.0/) modules.
Last updated 5 years ago by teebo47 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install dagre-d3-es 
SYNC missed versions from official npm registry.

dagre-d3-es on npm  

dagre-d3-es

The dagre-d3 library is not maintained anymore.

dagre-d3-es is a fork using the more modern ES6 javascript syntax. It uses ES modules, thus the name dagre-d3-es.

dagre-d3-es follows d3 versions. Ex: dagre-d3-es version 7 depends on d3 version 7.

Demos

Simple graph demo using react, dagre-d3-es, d3 version 7.2.

Install

npm install dagre-d3-es --save

Code example

Coming from the legacy dagre-d3, the main changes in your code will be:

import * as dagreD3 from 'dagre-d3-es';
...
const g = new dagreD3.graphlib.Graph().setGraph({});
...
const zoom = d3.zoom().on('zoom', (zoomEvent) => {
  inner.attr('transform', zoomEvent.transform);
});

Current Tags

  • 7.0.14                                ...           latest (a year ago)

16 Versions

  • 7.0.14                                ...           a year ago
  • 7.0.13                                ...           a year ago
  • 7.0.12                                ...           a year ago
  • 7.0.11                                ...           2 years ago
  • 7.0.10                                ...           4 years ago
  • 7.0.9                                ...           4 years ago
  • 7.0.8                                ...           4 years ago
  • 7.0.6                                ...           4 years ago
  • 7.0.5                                ...           4 years ago
  • 7.0.4                                ...           4 years ago
  • 7.0.2                                ...           4 years ago
  • 7.0.1                                ...           5 years ago
  • 7.0.0                                ...           5 years ago
  • 5.0.2                                ...           5 years ago
  • 5.0.1                                ...           5 years ago
  • 5.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Total 58
Today 0
This Week 0
This Month 29
Last Day 0
Last Week 14
Last Month 16
Dependencies (2)
Dev Dependencies (1)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE