https://github.com/prajit96/bitespeed-13060
https://github.com/prajit96/bitespeed-13060
react reactflow reacticon
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/prajit96/bitespeed-13060
- Owner: prajit96
- Created: 2024-05-31T06:34:33.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-02T14:06:37.000Z (about 1 year ago)
- Last Synced: 2025-02-06T20:34:00.941Z (4 months ago)
- Topics: react, reactflow, reacticon
- Language: JavaScript
- Homepage: https://chatbot-flow-builder-beryl-two.vercel.app/
- Size: 188 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π€ Chatbot Flow Builder
## Overview
This project is a Chatbot Flow Builder built using React and the React Flow library. The application allows users to create chatbot flows by connecting multiple text message nodes. The design is extensible to accommodate additional node types in the future.
## Features
1. **Text Node**
- π© Supports multiple text message nodes in a flow.
- β Nodes are added by dragging and dropping from the Nodes Panel.2. **Nodes Panel**
- ποΈ Houses all types of nodes that the flow builder supports.
- π Currently includes only the Message Node but is designed for future expansion.3. **Edge**
- π Connects two nodes together.4. **Source Handle**
- π Origin of a connecting edge.
- 1οΈβ£ Only one edge can originate from a source handle.5. **Target Handle**
- π― Destination of a connecting edge.
- βΎοΈ Multiple edges can connect to a target handle.6. **Settings Panel**
- π οΈ Replaces the Nodes Panel when a node is selected.
- βοΈ Includes a text field to edit the text of the selected Text Node.7. **Save Button**
- πΎ Button to save the flow.
- β Shows an error if there are multiple nodes and more than one node has empty target handles.## Installation
1. Clone the repository:
```bash
git clone https://github.com/prajit96/chatbot-flow-builder.git
cd chatbot-flow-builder
```2. Install the dependencies:
```bash
npm install
```3. Start the development server:
```bash
npm start
```4. Open your browser and navigate to `http://localhost:3000`.
## Usage
- π±οΈ Drag and drop a node from the Nodes Panel to the flow area to create a new text node.
- π Connect nodes by dragging from the source handle of one node to the target handle of another.
- π Click on a node to open the Settings Panel and edit the node's text.
- πΎ Click the "Save Changes" button to save the flow.
- β If there are more than one nodes and more than one node has empty target handles, an error will be shown when trying to save.## Deployment
The application is deployed on Vercel. You can access the live version [here](https://chatbot-flow-builder-beryl-two.vercel.app/).
## Technologies Used
- βοΈ React
- π React Flow
- πΌοΈ React Icons## Directory Structure
```plaintext
βββ public
β βββ index.html
β βββ ...
βββ src
β βββ components
β β βββ CustomNodes.jsx
β β βββ SettingsPanel.jsx
β βββ App.css
β βββ App.js
β βββ index.css
β βββ index.js
β βββ ...
βββ package.json
βββ README.md
```
# Snapshots πΈ



# Contact
If you have any questions, concerns, or feedback, please feel free to reach out:- [Prajit Kumar Santra]
- Email: [[email protected]]
- GitHub: [https://github.com/prajit96]
Any contributions or suggestions to improve this project are highly welcome. Let's make it better together!