{"name":"dagre-d3-es","version":"5.0.1","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.1","_nodeVersion":"16.13.0","_npmVersion":"8.2.0","dist":{"integrity":"sha512-JC45+7N0145sYQL4SO3XrYELzoavxXwjzpCBo8FHCGvKtLZgkvL3EJ9tSeXJylfD4rb9RGJvpEuK4zzTpx+5mA==","shasum":"3d5ddff85f4bac2ffebe1165a168bbc5794a4eac","tarball":"http://registry-npm.ywwl.com/dagre-d3-es/download/dagre-d3-es-5.0.1.tgz","fileCount":132,"unpackedSize":141500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1yQcCRA9TVsSAnZWagAANjwP/3rYN7KumpEwAI5padkT\nSzHc7IR69MiOBDdWbpNPT9scouS4/j+u/aRCBiOJYEqF87tRvNCgKvy1ODWc\n3nR7A48YXc0zhqyBTyznA5nCWh8p3aYoEU4oqxdI6EPF0WynHbX8DkeY/tBy\nTwrvDc5QQxyjQSdLJHRhvf5qzTtEjBImtVOpTxJCaFngXbl3zyi9A36CgI5/\njcnD4AwvrpKo6I57tP3ARo0oCWbF1Sz/rUEJiLFy6YwHFnQ/bQIn26xv+Fq8\n28hzHGz05zRxql7nW3Z2bULzyq06XN3SAkYt5YqD5dUn+RT+nRNHV0qq6PBS\n5BDRn1k2Wg20gVa3syGicjnLo0+OI7jtjUGYqAmZ55S5qbnRF9FNyl4ct6Gp\nfdnVf8QG3UIwJq2Oj75GDTTQFAlKFkjYg249TF/vviox9MfFn03w6qbvVCFv\nw91Um2qZlgxDqpiZ7rSZNGl7KUs/G8vD302Jc9o+z3q7ef6ugTTJtXcmX3El\nJcFqLwYXPuivNupdr3p/22S2moGtEm50bJ8O1rLL7ZPxWeIUBodKad0lhnAO\nhobfmwpOQjQVPav8IuyvvctMUJokoNwrpUgY8sStxWGu3mG7l8vjaMIjiJmB\ny+XEaaLtxBW2LRs+hOHOJIA8hsyqkqLbglHy0eykdmGL/WDNvdF2ZcHrDR4E\n21UX\r\n=wAVM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIE3yPtly1abAZcswz1H8Lhj1fsaTYfP5G+3GZYmph2YIAh8E5EJyYFasWLFVRMg+B7TJbmMaqYBKwkTqH7+MLlVZ"}],"size":41338,"noattachment":false,"key":"/dagre-d3-es/-/dagre-d3-es-5.0.1.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.1_1641489436016_0.00902358953725857"},"_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":1641489436175,"_cnpm_publish_time":1641489436175,"dist-tags":{"latest":"7.0.14"}}