React Flow live demo
This project is a simple React application built with React Flow and next.js . It demonstrates the implementation of drag and drop nodes with the ability to connect them. The state of the nodes and their connections can be saved and restored.
- Drag and drop nodes.
- Connect nodes by clicking and dragging from one node's edge to another.
- Clicking on a node selects it, and its label can be modified from the sidebar.
- Clicking anywhere on the pane deselects the selected node.
- Save and restore functionality, which saves the current state of the nodes and their connections, and can restore the state later.
First, clone the repository to your local machine:
git clone
Navigate into the project directory:
cd [project-folder-name]
Install the project dependencies:
npm install
To start the project in development mode:
npm start
The application should now be running on http://localhost:3000.
The project can be deployed on any hosting service that supports Node.js applications. Examples of such services include Heroku, Vercel, and Netlify. Please refer to the respective platform's documentation for deploying React applications.