diff --git a/src/App.tsx b/src/App.tsx index 30e5875..75d447a 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -3,7 +3,9 @@ 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 edges = [ + { id: '1-2', source: '1', target: '2', label: 'to the', type: 'step' }, +]; const nodes = [ {