Skip to content

This project is a complex prototype implementation of ReactFlow using the free version of @xyflow, showcasing advanced features such as custom nodes, custom edges, connection validation, and complex grouping of elements.

License

Notifications You must be signed in to change notification settings

RanitManik/ReactFlow-prototype

Repository files navigation

ReactFlow Prototype

GitHub Created At GitHub repo size GitHub Discussions GitHub License wakatime Deploy Status

This repository contains a complex implementation of ReactFlow using the free version of @xyflow/react, showcasing advanced features such as custom nodes, custom edges, connection validation and complex grouping of elements.

Features

  • Custom Nodes: This project demonstrates how to create custom nodes with advanced styles and logic.
  • Custom Edges: The custom edges provide dynamic behavior with interactive and visually appealing connections.
  • Complex Grouping: Nodes and edges are grouped into logical units, making it easy to manage large flows.
  • Connection Validation: When two nodes are connected by edges, validation is required. For example, self-connections are not allowed for nodes, etc.
  • Interactive Design: Users can interact with the flow by dragging nodes, creating connections, and manipulating groups of nodes and edges.

Demo

Check out the live demo here:
Live Demo

Installation

To get started with the project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/RanitManik/ReactFlow-prototype.git
    cd ReactFlow-prototype
  2. Install dependencies:

    This project uses npm or yarn for dependency management. Install the necessary dependencies by running:

    npm install

    or, if you prefer yarn:

    yarn install
  3. Run the project:

    Start the local development server:

    npm start

    This will open the application in your browser at http://localhost:3000.

Contributing

We welcome contributions! To contribute to this project:

  1. Fork this repository.
  2. Create a new branch.
  3. Make your changes and add tests (if necessary).
  4. Open a pull request with a description of your changes.

Please ensure that your code follows the existing style and passes all linting and tests before submitting a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This project is a complex prototype implementation of ReactFlow using the free version of @xyflow, showcasing advanced features such as custom nodes, custom edges, connection validation, and complex grouping of elements.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy