rescript-react-flow

0.0.2 • Public • Published

ReScript React Flow

🚧 WIP: React Flow bindings for ReScript.

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

  • [x] 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

Readme

Keywords

none

Package Sidebar

Install

npm i rescript-react-flow

Weekly Downloads

3

Version

0.0.2

License

MIT

Unpacked Size

7.75 kB

Total Files

5

Last publish

Collaborators

  • diogomqbm