Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

chore: the node should not draggable when preview a workflow (#39131)

非法操作9a2d039e933b
diff --git a/web/app/components/workflow/workflow-preview/index.tsx b/web/app/components/workflow/workflow-preview/index.tsx
index bb53b48f724..1908b05d5dc 100644
--- a/web/app/components/workflow/workflow-preview/index.tsx
+++ b/web/app/components/workflow/workflow-preview/index.tsx
@@ -96,7 +96,7 @@ const WorkflowPreview = ({
defaultViewport={viewport}
multiSelectionKeyCode={null}
deleteKeyCode={null}
- nodesDraggable
+ nodesDraggable={false}
nodesConnectable={false}
nodesFocusable={false}
edgesFocusable={false}