0.0.2 ā€¢ Published 3 years ago

rescript-react-flow v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

ReScript React Flow

šŸš§ WIP: React Flow bindings for ReScript.

Some basic examples are already working. But still need to figure out:

  • Custom Node
  • Validations
  • Updatable Edge
  • Controls
  • Provider

These are all very simple bindings that needs implementing I just didn't have the time. They're also a greate exercise if you're learning ReScript. Feel free to contribute.

Installing

  1. Install rescript-react-flow using npm:
npm install --save rescript-react-flow

or yarn:

yarn add rescript-react-flow
  1. Add rescript-react-flow as dependency to your bsconfig.json:
{
  "name": "your-project",
  "bs-dependencies": ["rescript-react-flow"]
}

Contributing

If you'd like to contribute, you can follow the instructions below to get things working locally.

Getting Started

  1. After cloning the repo, install the dependencies
npm install
  1. Build and start the example server:
npm start