Skip to content

Latest commit

 

History

History
77 lines (67 loc) · 1.77 KB

File metadata and controls

77 lines (67 loc) · 1.77 KB

🕸 reaflow


Node-based Visualizations for React


REAFLOW is a modular diagram engine for build static or interactive editors. The library is feature rich and modular allowing for displaying complex visualizations with total customizability.

🚀 Quick Links

📦 Usage

Install the package via NPM:

npm i reaflow --save

then add the component with some nodes and edges:

import React from 'react';
import { Canvas } from 'reaflow';

export default () => (
  <Canvas
    nodes={[
      {
        id: '1',
        text: '1'
      },
      {
        id: '2',
        text: '2'
      }
    ]}
    edges={[
      {
        id: '1-2',
        from: '1',
        to: '2'
      }
    ]}
  />
);

🔭 Developing

  • yarn install
  • yarn start
  • Storybook Opens