diff --git a/src/App.tsx b/src/App.tsx index 27373f8..30e5875 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -3,6 +3,8 @@ import ReactFlow, { Background, Controls } from 'reactflow'; // we have to import the React Flow styles for it to work import 'reactflow/dist/style.css'; +const edges = [{ id: '1-2', source: '1', target: '2' }]; + const nodes = [ { id: '1', @@ -20,7 +22,7 @@ const nodes = [ const Flow = () => { return (
- +