2019-10-22 16:37:47 +02:00
2019-10-21 20:58:28 +02:00
2019-10-15 22:44:10 +02:00
2019-10-08 13:52:38 +02:00
2019-10-22 14:15:36 +02:00
2019-10-22 14:15:36 +02:00
init 🚀
2019-07-15 16:48:04 +02:00
2019-07-25 13:49:02 +02:00
2019-10-21 20:58:28 +02:00
2019-10-09 19:15:47 +02:00
init 🚀
2019-07-15 16:48:04 +02:00
2019-10-21 20:58:28 +02:00
2019-10-21 20:58:28 +02:00
2019-10-22 14:15:36 +02:00
2019-10-22 14:22:24 +02:00
2019-10-09 22:56:59 +02:00
2019-10-21 20:58:28 +02:00

🌊 React Flow

React library for rendering an interactive node-based flow editor

Installation

npm install github:wbkd/react-flow

Props

  • elements: array with nodes and edges
  • onElementClick: element click handler
  • onElementsRemove: element remove handler
  • onNodeDragStop: node drag stop handler
  • onConnect: connect handler
  • onLoad: editor load handler
  • onMove: move handler
  • nodeTypes: object with node types
  • edgeTypes: object with node types
  • connectionLineType: connection line type = straight or bezier
  • connectionLineStyle: connection style as svg attributes
  • deleteKeyCode: delete key code
  • selectionKeyCode: selection key code
  • showBackground: boolean
  • backgroundGap: gap size
  • backgroundColor: color of dots or lines
  • backgroundType: background type = dots or lines
  • snapToGrid: boolean
  • snapGrid: [x, y] array
Description
No description provided
Readme 38 MiB
Languages
TypeScript 85.5%
Svelte 11.6%
CSS 2.3%
JavaScript 0.6%