{"bugs":{"url":"https://github.com/wbkd/react-flow/issues"},"dist":{"shasum":"6cfcfa85577ca52275b2ae9253941e20af40558c","tarball":"https://registry.npmjs.org/reactflow/-/reactflow-11.0.0-next.3.tgz","fileCount":10,"integrity":"sha512-OgLb+iapSL7yihCoUaLnanzzyBYESsdKh9y2D/j2oO3D7VTlBr1nfp7v7soAGzvWzX6fj3IlcHVA6YJV2bauuQ==","signatures":[{"sig":"MEUCIGKH6BBy4ViEg6a1E/E8Yon6Fs/oMiXsniiTGjsQ4XFjAiEAqsHF6GrsORz1gLbc0jN2LfrVw2VcyYgcrNZauf0l+TA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22033,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDJRPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqQgxAAieaKGVAy+eUGdVI1jXrICbZNU4Kr3OuZTkQHQd8fQ2E5EsNb\r\n6kjFUzrZoo0NPcE1RknzlG3scpxUOrfh5nsC445tfvqH4gc4al0BK8c8SC8T\r\niHnXPtdawS6DtZs0BmaiInXnlBovdEX/vti3g6BOEs0recNRzon3sYiHaTDi\r\nUDkLnp4xT9kxptpgAUOvbS2pvmtlElphbkdTssLfWgKmwDblTyNsviO4Pp34\r\nTYtZQpqsduylVtX7M7u8KOk8Yyc1dOjh4GX7Xw+MFzvJT2OREzFaDSr+a6IR\r\nrIeqbe0qiZwJRDm3SZ8UByoQxwQfXwfSmL9TPfyzUsHCabGdW+Ai8TyxqZm2\r\nz7mj5appgo8Bu7xH/QtvOF5Eux6+62ulZvo2N6eLr6jv91lsdHOD1klirevA\r\nHAVFOc+epTtTTmgcrzHNG4oyyi+84/iwg8h8n9q/qpyT1/LsDHFZimWbmw7n\r\niyUWQM+5Oy7LQxBBViN2DCwPsWqlmH9c1PY+3kF+saX1ZuRu0w1UDaw4KTU4\r\nDOHgdtQc+Rckb0d9MRu91uL/Yx78W03s7jl054YQJgdfpAqta2P/p8/k4RQX\r\neumO52lEN4K7nmQd5J7K/Mua1T0k9hzS7MGVyDHD4XroL0vY7tJBBvht+p6f\r\nhY8DOfMUZMWW5FJCTUNcykApJ7hj4Fl4Dow=\r\n=+OcL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/reactflow.cjs.js","name":"reactflow","types":"dist/reactflow.cjs.d.ts","module":"dist/reactflow.esm.js","readme":"![readme-header-dark](https://user-images.githubusercontent.com/3797215/156384064-08a889d6-73c0-4cbf-8ff3-28dc601d1f5f.svg#gh-dark-mode-only)\n![readme-header](https://user-images.githubusercontent.com/3797215/156259138-fb9f59f8-52f2-474a-b78c-6570867e4ead.svg#gh-light-mode-only)\n\n<div align=\"center\">\n\n![GitHub License MIT](https://img.shields.io/github/license/wbkd/react-flow?color=%23ff0072)\n![npm downloads](https://img.shields.io/npm/dt/reactflow?color=%23FF0072&label=downloads)\n![GitHub Repo stars](https://img.shields.io/github/stars/wbkd/react-flow?color=%23FF0072)\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/wbkd/react-flow?color=%23FF0072)\n\nA highly customizable React component for building interactive graphs and node-based editors.\n\n[🚀 Getting Started](https://reactflow.dev/docs/getting-started/installation) | [📖 Documentation](https://reactflow.dev/docs/api/react-flow-props) | [📺 Examples](https://reactflow.dev/docs/examples/overview) | [☎️ Discord](https://discord.gg/RVmnytFmGW) | [💎 React Flow Pro](https://pro.reactflow.dev/pricing)\n\n</div>\n\n---\n\n## Key Features\n\n- **Easy to use:** Seamless zooming and panning, single- and multi selection of graph elements and keyboard shortcuts are supported out of the box\n- **Customizable:** Different [node](https://reactflow.dev/docs/api/nodes/node-types) and [edge types](https://reactflow.dev/docs/api/edges/edge-types) and support for custom nodes with multiple handles and custom edges\n- **Fast rendering:** Only nodes that have changed are re-rendered and only those in the viewport are displayed\n- **Hooks and Utils:** [Hooks](https://reactflow.dev/docs/api/hooks/use-react-flow) for handling nodes, edges and the viewport and graph [helper functions](https://reactflow.dev/docs/api/graph-util-functions)\n- **Plugin Components:** [Background](https://reactflow.dev/docs/api/plugin-components/background), [MiniMap](https://reactflow.dev/docs/api/plugin-components/minimap) and [Controls](https://reactflow.dev/docs/api/plugin-components/controls)\n- **Reliable**: Written in [Typescript](https://www.typescriptlang.org/) and tested with [cypress](https://www.cypress.io/)\n\n## Commercial Usage / Attribution\n\nReact Flow includes a small attribution that links to the React Flow website. **We expect companies who are using React Flow commercially to subscribe to [React Flow Pro](https://pro.reactflow.dev/pricing) if they want to remove the attribution.** By subscribing you get access to other exclusive services like advanced examples, individual support or prioritized bug reports. In non-commercial applications you may hide the attribution without subscribing but are welcome to [sponsor us on Github](https://github.com/sponsors/wbkd).\n\nYou can find more information in our [React Flow Pro FAQs](https://pro.reactflow.dev/faq).\n\n## Installation\n\nThe easiest way to get the latest version of React Flow is to install it via npm:\n\n```bash\nnpm install reactflow\n```\n\n## Quick Start\n\nThis is only a very basic usage example of React Flow. To see everything that is possible with the library, please refer to the [website](https://reactflow.dev) for [guides](https://reactflow.dev/docs/guides/custom-nodes), [examples](https://reactflow.dev/docs/examples/overview) and [API reference](https://reactflow.dev/docs/api/react-flow-props).\n\n```jsx\nimport ReactFlow, { MiniMap, Controls } from 'reactflow';\n\nfunction Flow({ nodes, edges, onNodesChange, onEdgesChange, onConnect }) {\n  return (\n    <ReactFlow\n      nodes={nodes}\n      edges={edges}\n      onNodesChange={onNodesChange}\n      onEdgesChange={onEdgesChange}\n      onConnect={onConnect}\n    >\n      <MiniMap />\n      <Controls />\n    </ReactFlow>\n  );\n}\n```\n\n## Development\n\nBefore you can start developing please make sure that you have yarn classic installed (`npm i -g yarn`). Then install the dependencies using yarn: `yarn`.\n\nFor local development, you can use `yarn dev`. This will run preconstruct and build all the packages.\n\n## Testing\n\nTesting is done with cypress. You can find the tests in the [`integration/flow`](/cypress/integration/flow) folder. In order to run the tests do:\n\n```sh\nnpm run test\n```\n\n## Maintainers\n\nReact Flow is developed and maintained by [webkid](https://webkid.io), a web development agency with focus on data driven applications from Berlin. If you need help or want to talk to us about a collaboration, feel free to contact us:\n\n- Moritz Klack • [Twitter](https://twitter.com/moklick) • [Github](https://github.com/moklick)\n- Christopher Möller • [Twitter](https://twitter.com/chrtze) • [Github](https://github.com/chrtze)\n\nYou can also use our [contact form](https://pro.reactflow.dev/contact) or join the [React Flow Discord Server](https://discord.gg/Bqt6xrs).\n\n## Community Packages\n\n- [useUndoable](https://github.com/Infinium8/useUndoable) - Hook for undo/redo functionality with an explicit React Flow example\n- [react-flow-smart-edge](https://github.com/tisoap/react-flow-smart-edge) - Custom edge that doesn't intersect with nodes\n- [Feliz.ReactFlow](https://github.com/tforkmann/Feliz.ReactFlow) - Feliz React Bindings for React Flow\n\n## Credits\n\nReact Flow was initially developed for [datablocks](https://datablocks.pro), a graph-based editor for transforming, analyzing and visualizing data in your browser. Under the hood, React Flow depends on these great libraries:\n\n- [d3-zoom](https://github.com/d3/d3-zoom) - used for zoom, pan and drag interactions with the graph canvas\n- [d3-drag](https://github.com/d3/d3-drag) - used for making the nodes draggable\n- [zustand](https://github.com/pmndrs/zustand) - internal state management\n\n## License\n\nReact Flow is [MIT licensed](https://github.com/wbkd/react-flow/blob/main/LICENSE).\n","gitHead":"f113cf4e198345af1d8935552dcbcaef31fbfc3a","license":"MIT","scripts":{"build":"postcss src/*.css --config ../../postcss.config.json --dir dist"},"_npmUser":{"name":"webk1d","email":"info@webkid.io"},"homepage":"https://github.com/wbkd/react-flow#readme","keywords":["react","node-based UI","graph","diagram","workflow","react-flow"],"repository":{"url":"git+https://github.com/wbkd/react-flow.git","type":"git","directory":"packages/reactflow"},"_npmVersion":"8.5.0","description":"A highly customizable React library for building node-based editors and interactive flow charts","directories":{},"maintainers":[{"name":"webk1d","email":"info@webkid.io"}],"sideEffects":false,"_nodeVersion":"16.14.2","dependencies":{"@rctflw/core":"next","@babel/runtime":"^7.18.9","@rctflw/minimap":"next","@rctflw/controls":"next","@rctflw/background":"next"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"postcss":"^8.4.14","postcss-cli":"^10.0.0","autoprefixer":"^10.4.8","postcss-import":"^14.1.0","postcss-nested":"^5.0.6","postcss-combine-duplicated-selectors":"^10.0.3"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/reactflow_11.0.0-next.3_1661768783048_0.9901944521059005","host":"s3://npm-registry-packages"},"_id":"reactflow@11.0.0-next.3","version":"11.0.0-next.3"}