React Flow Editor.
npm install
npm start
open http://localhost:9001/
import React from 'react';
import ReactFlowEditor from 'react-flow-editor2';
const data = {
nodes: [
{ id: '1', x: 100, y: 100 },
{ id: '2', x: 200, y: 200 },
],
edges: [],
};
const Demo = () => <ReactFlowEditor data={data} />;
export default Demo;
- 未完成