feat(ui): tweak edge styling

This commit is contained in:
psychedelicious 2024-05-19 14:28:39 +10:00
parent b3429553bb
commit 21fab9785a

View File

@ -18,7 +18,7 @@ export const getEdgeStyles = (
shouldAnimateEdges: boolean,
areConnectedNodesSelected: boolean
): CSSProperties => ({
strokeWidth: selected ? 3 : areConnectedNodesSelected ? 2 : 1,
strokeWidth: 3,
stroke,
opacity: selected ? 1 : 0.5,
animation: shouldAnimateEdges ? 'dashdraw 0.5s linear infinite' : undefined,