From a6ce6a249b8a9bf83a5d57538e92ee4c3f8c1e2d Mon Sep 17 00:00:00 2001 From: zhsama Date: Sun, 4 Jan 2026 20:59:33 +0800 Subject: [PATCH] feat(workflow): refine strokeDasharray logic for temporary edges --- web/app/components/workflow/custom-edge.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/components/workflow/custom-edge.tsx b/web/app/components/workflow/custom-edge.tsx index 0440ca0c3e..d88c37e35d 100644 --- a/web/app/components/workflow/custom-edge.tsx +++ b/web/app/components/workflow/custom-edge.tsx @@ -25,7 +25,7 @@ import { useAvailableBlocks, useNodesInteractions, } from './hooks' -import { NodeRunningStatus } from './types' +import { BlockEnum, NodeRunningStatus } from './types' import { getEdgeColor } from './utils' const CustomEdge = ({ @@ -136,7 +136,7 @@ const CustomEdge = ({ stroke, strokeWidth: 2, opacity: data._dimmed ? 0.3 : (data._waitingRun ? 0.7 : 1), - strokeDasharray: data._isTemp ? '8 8' : undefined, + strokeDasharray: (data._isTemp && data.sourceType !== BlockEnum.Group && data.targetType !== BlockEnum.Group) ? '8 8' : undefined, }} />