For this set-up we assume you already have node.js and npm, yarn or pnpm already installed.
The React Flow package is published under
reactflow on npm and installable via:
npm install reactflow
yarn add reactflow
pnpm add reactflow
Now you can import the React Flow component and the styles in your application:
import ReactFlow from 'reactflow';
Prior Experience Needed
React Flow is a React library. That means React developers will feel comfortable using it. If basic React terms and concepts like states, props, components, and hooks are unfamiliar to you, you might need to learn more about React before being able to use React Flow fully. If you’ve never used React before, we recommend first getting to start on React through tutorials like Codecademy or Reactjs.org.