rescript-react-flow
v0.0.2
Published
Easily use React Flow with ReScript
Downloads
5
Readme
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
- Install
rescript-react-flow
using npm:
npm install --save rescript-react-flow
or yarn:
yarn add rescript-react-flow
- Add
rescript-react-flow
as dependency to yourbsconfig.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
- After cloning the repo, install the dependencies
npm install
- Build and start the example server:
npm start