From b1ad21626a5e4a844045b7ae1cb02751acbe3c03 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Mon, 29 May 2023 19:28:26 -0300 Subject: [PATCH] edges with the right color --- src/frontend/src/contexts/tabsContext.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/frontend/src/contexts/tabsContext.tsx b/src/frontend/src/contexts/tabsContext.tsx index a76e5fad7..1b13adb7f 100644 --- a/src/frontend/src/contexts/tabsContext.tsx +++ b/src/frontend/src/contexts/tabsContext.tsx @@ -84,6 +84,8 @@ export function TabsProvider({ children }: { children: ReactNode }) { cookieObject.flows.forEach((flow) => { flow.data.edges.forEach((edge) => { edge.className = ""; + edge.style={stroke: "#222222" } + }); flow.data.nodes.forEach((node) => { if (Object.keys(templates[node.data.type]["template"]).length > 0) { @@ -289,6 +291,7 @@ export function TabsProvider({ children }: { children: ReactNode }) { if (data) { data.edges.forEach((edge) => { edge.className = ""; + edge.style={stroke: "#222222" } }); data.nodes.forEach((node) => { if (Object.keys(templates[node.data.type]["template"]).length > 0) {