{"name":"dagre-d3-es","version":"7.0.0","description":"The [dagrejs](https://github.com/dagrejs) library exported as [ES](https://262.ecma-international.org/6.0/) modules.","author":{"name":"Thibaut Lassalle"},"license":"MIT","main":"src/index.js","scripts":{"generate_types":"tsc src/*.js --declaration --allowJs --emitDeclarationOnly","compile_js_as_ts":"tsc src/index.js --AllowJs --checkJs --outDir dist/"},"keywords":["dagre-d3"],"repository":{"type":"git","url":"git+https://github.com/tbo47/dagre-es.git"},"dependencies":{"d3":"^7.2.1","lodash-es":"^4.17.21"},"devDependencies":{"typescript":"^4.5.4"},"types":"./src/index.d.ts","gitHead":"39fe7ae7ab8c34cd97ed5b5455b37d7a71ae610d","bugs":{"url":"https://github.com/tbo47/dagre-es/issues"},"homepage":"https://github.com/tbo47/dagre-es#readme","_id":"dagre-d3-es@7.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.2.0","dist":{"integrity":"sha512-B1xGUTWXyilIrrHdDWlGCGhJ7KSwUUzBMVh9+DR2BOdnJlEjZtB+2RNQk1iLpq1Qorqvfklm6/a1J3sGPlKi6w==","shasum":"899816b07a1ae260f1de9f786731025a7ba49ce7","tarball":"http://registry-npm.ywwl.com/dagre-d3-es/download/dagre-d3-es-7.0.0.tgz","fileCount":132,"unpackedSize":141459,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh13dlCRA9TVsSAnZWagAADdsP/3XgcB3xlTHsgTg654lc\nhlair+m9xXDGWWlC6XDzp1DoBplvaEJJR+vzao9KwMaN128CWHVa8r6HHeEo\nO6iiSGPd6uNbYhgKbFp3wsuXihRl8ly3f3p5ycMeJnRAl5QUuUr3v9XvkDT/\n6Hywvc2E4V6fLLza/9hTAsogUBA72c3oC9/JV9bNjuHhyLhZwI6t0S8tZ1w+\ndi0jFKxrjTediX9TyH5iTP1B88OqFsxLO4s2xE5IeAP5yuVOwwp7pY4Y6PvQ\n5QsNjB9Exkb/mhg8jyXP1FU9Aujmj3jFABwyxujA4naTiwHXcUlhGKYfNJYL\nwyfBSQk143F8e6XrNNrxB1nlo3NqHHbHoG1vOmciGEHHzvVOGVnG5sVUXrUw\nTuuwGZ+2DBiavC78pVnAE4xYS1HKJYeuOPUeZQ4ntfdm95fPvZwNrm1oYyNN\nHqEXnxN4POFyQqTdK0VEm369IrfyutNQO60SfrAPDQg8bKQVs2lkhDOwu8Yl\nYkUrM3xEOMR1FAb7VX5EXbqf64Rh/GPB4u62HKebyCHwDJXqO4o02fMQhJ0i\nsbz1Ds629MI2sV15IHRgd09oJtXSLP6EI8pJ11o5piBzzVMhav2dsajusQX6\nfO+xxKsKxq80SEfmfUz98MDN2KkAzqedhqBZavObXDgM3pLYQbzTGOcwCiHE\njaNM\r\n=jU6F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICvvdWcvxzAF2wj6tefubj0FKGjFHQBr2nyNMz8qRRKMAiEAq2rgjO0wQ64ASaSf0J8CWfcXJFh2TjP99smZWGFdqt0="}],"size":41310,"noattachment":false,"key":"/dagre-d3-es/-/dagre-d3-es-7.0.0.tgz"},"_npmUser":{"name":"teebo47","email":"thibaut.lassalle@gmail.com"},"directories":{},"maintainers":[{"name":"teebo47","email":"thibaut.lassalle@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dagre-d3-es_7.0.0_1641510757194_0.6105154435450821"},"_hasShrinkwrap":false,"readme":"<p align=\"center\">\n  <a href=\"https://www.npmjs.com/dagre-d3-es\">\n    <img src=\"https://img.shields.io/npm/v/dagre-d3-es.svg?logo=npm&logoColor=fff&label=NPM+package&color=limegreen\" alt=\"dagre-d3-es on npm\" />\n  </a>&nbsp;\n</p>\n\n# dagre-d3-es\n\nThe [dagre-d3](https://github.com/dagrejs) library is not maintained anymore.\n\n[dagre-d3-es](https://www.npmjs.com/package/dagre-d3-es) is a fork using the more modern ES6 javascript syntax.\nIt uses [ES](https://262.ecma-international.org/6.0/) modules, thus the name [dagre-d3-es](https://www.npmjs.com/package/dagre-d3-es).\n\n[dagre-d3-es](https://www.npmjs.com/package/dagre-d3-es) follows [d3](https://www.npmjs.com/package/d3) versions. Ex: dagre-d3-es version 7 depends on [d3](https://www.npmjs.com/package/d3) version 7.\n\n## Demos\n\n[Simple graph demo](https://codesandbox.io/s/dagre-d3-es-tree-9ywg9) using react, dagre-d3-es, [d3](https://www.npmjs.com/package/d3) version 7.2.\n\n## Install\n\n```\nnpm install dagre-d3-es --save\n```\n\n## Code example\n\nComing from the legacy `dagre-d3`, the main changes in your code will be:\n\n```\nimport * as dagreD3 from 'dagre-d3-es';\n...\nconst g = new dagreD3.graphlib.Graph().setGraph({});\n...\nconst zoom = d3.zoom().on('zoom', (zoomEvent) => {\n  inner.attr('transform', zoomEvent.transform);\n});\n\n```\n","publish_time":1641510757402,"_cnpm_publish_time":1641510757402,"dist-tags":{"latest":"7.0.14"}}