From 72f77c6a9e1277736dc6ba69bff04084bd9faa17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christopher=20M=C3=B6ller?= Date: Mon, 14 Mar 2022 12:14:58 +0100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 69ea45a4..1df6d46e 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ A highly customizable React component for building interactive graphs and node-b The easiest way to get the latest version of React Flow is to install it via npm: ```bash -npm install @react-flow/core +npm install react-flow-renderer ``` ## Quick Start @@ -39,7 +39,7 @@ npm install @react-flow/core This 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). ```jsx -import ReactFlow, { MiniMap, Controls } from '@react-flow/core'; +import ReactFlow, { MiniMap, Controls } from 'react-flow-renderer'; function Flow({ nodes, edges, onNodesChange, onEdgesChange, onConnect }) { return (