{"name":"dagre-d3-es","version":"5.0.2","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":"rm -rf types; tsc src/*.js --declaration --allowJs --emitDeclarationOnly --outDir types","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":"5.16","lodash-es":"4.17.21"},"devDependencies":{"typescript":"^4.5.4"},"types":"./types/index.d.ts","gitHead":"3fdea45fc6b39d4d9ba8bfd63c2864d6c4a47510","bugs":{"url":"https://github.com/tbo47/dagre-es/issues"},"homepage":"https://github.com/tbo47/dagre-es#readme","_id":"dagre-d3-es@5.0.2","_nodeVersion":"16.13.0","_npmVersion":"8.2.0","dist":{"integrity":"sha512-q2dgeXDxxWWex7YSRwiEalYYG3Lyp/zNyfJZGOEAYdfs3JNjmUAJnKw6MK2+Fv6AvpsnwYQgiSjK7KNqqhMXNw==","shasum":"7ef2d5773f0d1fd001a6f49e0ca82e996670fdcb","tarball":"http://registry-npm.ywwl.com/dagre-d3-es/download/dagre-d3-es-5.0.2.tgz","fileCount":132,"unpackedSize":141505,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1yUoCRA9TVsSAnZWagAAsdEP/36P73MerAH+qVyzqV08\nTlw4C0q15WOC2m0l9+ES8kp13vwdctsKI+8IMLq/8ZlwfyisAwd2LhVfaXqG\ngHZr4AjibV8dbxR8Mt0lq0T1PcPQP2AYMUBn/QisYmyGEKORVMICSmJpqO/4\nHzdnCHFxRfaoLc7+jTqo+PajkXls9HJf+jVPL3nSr/GOLY6nWCcALSWO+GSW\n7icO5ERbGmxCzNA2ZyyDetJ5VxPkZLekvv85G0/nlvcLuBy6QvJq296amXE4\n0TH6PsHHQK2Q843CyhVuVJAB1JtMqYe/YvvrXWRB/g1AUPLA1dO6jA36CquT\nx9Qjvy9Hza3UBdUyhD3r5+UhJUqnS2EO2DwKHIHLCrpioZjC2DywkeygAZ4e\niW+iQObXWsnmFodIrpJJY5D7FH7fY80feaHOF02GYcEt/FixBzk+GabGwDzI\nWxALs1HKRzVSDJIvL2/icE+KSjBRl0DEO+aoeZX6WaC6YoEGdW/V0aHAqYov\nnAIyhsg942SQzilOocvLyLXn8jhh0NF6IGVGFDJuiXE5fgFJQo8PwBOu7qfB\npqr+12vJ6goyUYiI/ajN73mn9uwbKcZNaVdBnHoS2J8vY9g8x+bgn4Kak013\nRoRGrM4JOXbHXCeT3FgHP9r3DbLtF8SKU10maWnNYMNLwp6M4US6ztDcvBj1\nkkps\r\n=Q8mT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNK07jGNoQwRxn+PWrEfYjREh2k9v1hqA9k9dvSTUj9AIgO2OD6yYB3eOcm9X4RgTmE40PaUXR6PpmlmlyWYHaE0Q="}],"size":41340,"noattachment":false,"key":"/dagre-d3-es/-/dagre-d3-es-5.0.2.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_5.0.2_1641489703958_0.920804530970494"},"_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":1641489704151,"_cnpm_publish_time":1641489704151,"dist-tags":{"latest":"7.0.14"}}