{"name":"dagre-d3-es","version":"7.0.6","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; prettier --write .","lint":"eslint .","lint:fix":"eslint --fix .","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.7.0","lodash-es":"^4.17.21"},"devDependencies":{"@types/d3":"^7.4.0","@types/lodash-es":"^4.17.6","eslint":"^8.29.0","eslint-plugin-import":"^2.26.0","prettier":"^2.8.1","typescript":"^4.9.4"},"types":"./src/index.d.ts","gitHead":"46313db0eb4a258f8a9f04035579d17839cfc62e","bugs":{"url":"https://github.com/tbo47/dagre-es/issues"},"homepage":"https://github.com/tbo47/dagre-es#readme","_id":"dagre-d3-es@7.0.6","_nodeVersion":"16.15.1","_npmVersion":"9.1.1","dist":{"integrity":"sha512-CaaE/nZh205ix+Up4xsnlGmpog5GGm81Upi2+/SBHxwNwrccBb3K51LzjZ1U6hgvOlAEUsVWf1xSTzCyKpJ6+Q==","shasum":"8cab465ff95aca8a1ca2292d07e1fb31b5db83f2","tarball":"http://registry-npm.ywwl.com/dagre-d3-es/download/dagre-d3-es-7.0.6.tgz","fileCount":134,"unpackedSize":145408,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1XLJjE4bJyBXclzMK2bvNfv+uOWDJw4msHcju/XaEBwIhAOGvRgXExQsIWjRlLV7d19IF5UHffDuJk+kqYQrcMOu4"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmlChACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmraAw/6A1eDwtvFCIQM+W0JC49y9dWgZiiJWsXZug+/pAtuNe8Lu/3X\r\ngumenN9+hijv6DAUmInZMEU2dUckRTowtJC7mG4i/Lm0cEvyFn3ETscEdNcB\r\njFQhUQlWKijvK+m3KXteUY7aDCMxzNzuG3L63pIGkQEtocZ6Y3h7u9lUBz+0\r\nnwVGREmZwcABBJ6zA2DJfzXKGO1iXBJG72GZKIIbMfv6YVYRn9Dbp3Cx9bjC\r\nlm5eggT+IJ85XCDxyTz3o2VPCpxbh7Jxs8EtTyaexcKk+rLz/t+LpC9dU/V2\r\n9aRA+jUZvUNL0pz6uuQgyg1jYTPNqKQ8qllfPY4GTNktcPrljxvWMQbBr3aE\r\nZARHx59kGecZsPJ/07bnsOB1vPBAQFli6ayNEWGlmoAzAi8g6/wDUm4eVSjy\r\nKhZIdD9416AgUiqhtIe1SVhFlvYY85OFd9+PmZxE2nx7BAK8wqCFGM+qJDNp\r\naYDAHZIrCKGylZVJaxeyWaSbG7Uv4VGKeg0qEXWyLBz8xushT2UmO2dLFh6c\r\nuZADPa6sL6/km8R5h8qvGdlT54OyU+ILbSrscFEszjJKFkmHkwsSap1gEMni\r\nUW6oAwenHtf4KAC5POD1ERQHLOBz+oRBOR3gVjb1jbCkURUEQ/mMjQuCbUa0\r\nHx5yTUnfIklCpz5lz3BtoV1yGEB5cIPpcGg=\r\n=yb4p\r\n-----END PGP SIGNATURE-----\r\n","size":42107,"noattachment":false,"key":"/dagre-d3-es/-/dagre-d3-es-7.0.6.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.6_1671057569371_0.6742749373776382"},"_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":1671057569671,"_cnpm_publish_time":1671057569671,"dist-tags":{"latest":"7.0.14"}}