From f7f8e3bdc6e9bc670e544c67a8d895c877f942c8 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Wed, 15 Feb 2023 17:51:16 -0300 Subject: [PATCH] gray connection back --- space_flow/src/pages/FlowPage/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/space_flow/src/pages/FlowPage/index.tsx b/space_flow/src/pages/FlowPage/index.tsx index 227356981..3fc06b404 100644 --- a/space_flow/src/pages/FlowPage/index.tsx +++ b/space_flow/src/pages/FlowPage/index.tsx @@ -40,7 +40,7 @@ export default function FlowPage() { console.log(params) console.log(reactFlowInstance.getNodes()) console.log(getConnectedNodes(params,reactFlowInstance.getNodes())) - setEdges((eds) => addEdge({...params,style:{stroke:"red"}}, eds)) + setEdges((eds) => addEdge({...params}, eds)) }, [reactFlowInstance] );