{"name":"dagre-d3-es","version":"7.0.5","description":"The [dagre-d3](https://github.com/dagrejs) library is not maintained anymore.","author":{"name":"Thibaut Lassalle"},"license":"MIT","main":"src/index.js","type":"module","scripts":{"generate_types":"tsc src/*.js --declaration --allowJs --emitDeclarationOnly","format":"prettier --write .","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.6.1","lodash-es":"^4.17.21"},"devDependencies":{"@types/d3":"^7.4.0","@types/lodash-es":"^4.17.6","prettier":"^2.7.1","typescript":"^4.9.3"},"types":"./src/index.d.ts","gitHead":"fdb7552081b072047aef49e9a80e200126abf767","bugs":{"url":"https://github.com/tbo47/dagre-es/issues"},"homepage":"https://github.com/tbo47/dagre-es#readme","_id":"dagre-d3-es@7.0.5","_nodeVersion":"16.15.1","_npmVersion":"9.1.1","dist":{"integrity":"sha512-E42LEJ3KFzXCwNlYkY69HOlksJ2g+uuRIZkHd09Fe0yxOJqzHIzVn78Myjv8ZwFpFt9Izax2KHOK6B/GHfawTA==","shasum":"497e3481e97e2df63ee5ccea28af5819895fbb98","tarball":"http://registry-npm.ywwl.com/dagre-d3-es/download/dagre-d3-es-7.0.5.tgz","fileCount":134,"unpackedSize":144728,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGJ7tyHncXwPDdKYirrrMlSOhbqBaJZfVM7Zhb3u5f5gAiEA9j3BMWMJBaLCThgNM0Wf0gzJN+Ij7qkWvPI0PF7vtjE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmJodACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmot3Q//fQWL4orQOxbS6u5Js4o8GHVkPwJq/9pTyy0V2fgfH7vomRcj\r\nAm9l8lNbnXMzMsdgNaOKmGpoAQs5f/TC3iGoFaonTnTIBMC9PPxFDOcFnv8t\r\n/e2e8GP12LSuNyp7zgWDvSkzT2oqxUk9ww9ng07xT3eqeFqvZeHskj5qy1dK\r\nVN9kPDU5CZPFD4xDDQ2ld/h36buZbZGeCICCEjGY+qOlkFeEK0pc289BpzG+\r\n8uSz0dEYc2TXhuoiNWReX6C4Itu7S9y/6BsqQivwJRlsYnkLMec9K1RGYnLx\r\n6gGQOlCOd/gHxdTbwzpXO49tp/R9Auxhcpfr8m85iWIlRIl+daer060ATSpo\r\nYgXjAObQ4/JUIFEd0I3WFrAuRFeEpGgVmf3AWzip3QX7hScAgv1LuEjMGb/l\r\n7XemUJxGF7woum6qQ0z48xKnYmiQPVJFbaXZjvRl7VBy9VwwzXtD+PLuUbuF\r\ncBS4e1QGxLYdh3NbDHy4nyaXvuCUcaGpXoiu9Mst0puc5DucqHfZLFNv/mY1\r\nErRQ1GoTenu9l8I5dukoqKDhS25ckycZ2jntF2bWi7+zLKSACjvgb1LENmBJ\r\n+4vg8wEP8SYbMkGmTBbro2PqcQcJZHwO9dgP+Ja7wxCLDkaCpLrMCdmzZNZb\r\nhdHEOocPkaNq1FIh+uFA9+Sg4kpF52OA3SU=\r\n=qjQJ\r\n-----END PGP SIGNATURE-----\r\n","size":42048,"noattachment":false,"key":"/dagre-d3-es/-/dagre-d3-es-7.0.5.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.5_1670945309590_0.5233176501517807"},"_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":1670945309797,"_cnpm_publish_time":1670945309797,"dist-tags":{"latest":"7.0.14"}}