React library for building workflow editors, flow charts and diagrams. Maintained by @goodcodeus.
React library for building workflow editors, flow charts and diagrams. Maintained by @goodcodeus.
REAFLOW is a modular diagram engine for building static or interactive editors. The library is feature-rich and modular allowing for displaying complex visualizations with total customizability.
Install the package via NPM:
npm i reaflow --saveInstall the package via Yarn:
yarn add reaflowImport the component into your app and add some nodes and edges:
import React from 'react';
import { Canvas } from 'reaflow';
export default () => (
<Canvas
maxWidth={800}
maxHeight={600}
nodes={[
{
id: '1',
text: '1'
},
{
id: '2',
text: '2'
}
]}
edges={[
{
id: '1-2',
from: '1',
to: '2'
}
]}
/>
);If you want to run reaflow locally, its super easy!
npm inpm startThanks to all our contributors!
No open issues yet, or sync has not completed.