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.

fix(workflow): correct edge type mapping typo (#13988)

SToneXee49d321c508
diff --git a/web/app/components/workflow/index.tsx b/web/app/components/workflow/index.tsx
index 0510109b397..25a449f0052 100644
--- a/web/app/components/workflow/index.tsx
+++ b/web/app/components/workflow/index.tsx
@@ -82,6 +82,7 @@ import {
initialNodes,
} from './utils'
import {
+ CUSTOM_EDGE,
CUSTOM_NODE,
DSL_EXPORT_CHECK,
ITERATION_CHILDREN_Z_INDEX,
@@ -103,7 +104,7 @@ const nodeTypes = {
[CUSTOM_ITERATION_START_NODE]: CustomIterationStartNode,
}
const edgeTypes = {
- [CUSTOM_NODE]: CustomEdge,
+ [CUSTOM_EDGE]: CustomEdge,
}
type WorkflowProps = {