{"name":"dagre-d3-es","version":"7.0.9","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 --build --clean && tsc --build && prettier --write .","prepack":"npm run generate_types","lint":"eslint .","lint:fix":"eslint --fix .","format":"prettier --write .","my_1_npm_login":"npm login","my_2_publish":"echo update_package_version ; git clean -xdf ; npm ci ; npm publish","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.8.2","lodash-es":"^4.17.21"},"devDependencies":{"@types/d3":"^7.4.0","@types/lodash-es":"^4.17.6","eslint":"^8.33.0","eslint-plugin-import":"^2.27.5","prettier":"^2.8.3","typescript":"^4.9.5"},"types":"./src/index.d.ts","gitHead":"61dbb2c8bfac4a1aa3b1a179315aee7d075afb17","bugs":{"url":"https://github.com/tbo47/dagre-es/issues"},"homepage":"https://github.com/tbo47/dagre-es#readme","_id":"dagre-d3-es@7.0.9","_nodeVersion":"18.13.0","_npmVersion":"9.3.0","dist":{"integrity":"sha512-rYR4QfVmy+sR44IBDvVtcAmOReGBvRCWDpO2QjYwqgh9yijw6eSHBqaPG/LIOEy7aBsniLvtMW6pg19qJhq60w==","shasum":"aca12fccd9d09955a4430029ba72ee6934542a8d","tarball":"http://registry-npm.ywwl.com/dagre-d3-es/download/dagre-d3-es-7.0.9.tgz","fileCount":136,"unpackedSize":147679,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICV/8IrPgyBHOXS0Dvlmh3PxzULJoRqCFd4V/hRIgA2/AiEA+lncUGQamz2etnwcBg6fTrn87ZatWp7amRm+2t9E1HM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+RJaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp7xA//YV8NKuAwbqeTku6Z3ERqAFTTot7016iQ9yaUF29BzyLx7GQF\r\nZXQLQI7g+ed0o/Nrd75Gvt0GHDG6SgGPh3JZiX1o/VoxB9s7KCwmZ/QxzsAp\r\nwUlyk628SSHlI5yIMJj6g2ncJKrhhVKTtwrfxx3demLKgZia3GhojTjaLeUl\r\nI6kjMQolgu9x7wShtptAJnE8Ncvgab5otfxHMO7hq2fXXEgPXilWDPOfmbrH\r\nJI6/LCTAKyC6UtMKw5L6RDo2yexOgQdSLgPiJxUzxn+KelVYp27IIwKespTY\r\nPAjBzVoe5VicD0AWw/dTrTU3fVaAfy9k1SByX3vWXE9FmL44F/Tw9g5qxDX+\r\n2CWwzMY5beF98A+S00taU3wwa5gnKMm+DbZuCmW1YMN+YcZKI2XTVKweKm3J\r\nbKOpq+mJu4YHAxPShtiJ2Wo0nnvd0JBr1zF8rMvzUc07V+EJrrKPmWxn6zqk\r\nSRGpgL7s7F1nFnOKqD2WSV/ferd3cKUt+GDLBVRN6sj+v3b0QlxzpbmBuqIW\r\n6I1ve+PGqZk1qfd7J99di1Vu4DGy6WARQjqq88q+ounDiQiDtk+o8s68tjSE\r\nsqGvdZWmjOlXgGy9+jo/mGzp8snX79xPDdewhmJlHj2Ton+wFJ1buvbt8BqM\r\nQ6YTUye2HcGxLcejd1OWbOF6JX2ao2qCxLo=\r\n=eXoB\r\n-----END PGP SIGNATURE-----\r\n","size":42614,"noattachment":false,"key":"/dagre-d3-es/-/dagre-d3-es-7.0.9.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.9_1677267546037_0.5055060994963865"},"_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":1677267546225,"_cnpm_publish_time":1677267546225,"dist-tags":{"latest":"7.0.14"}}