dify/web/app/components/workflow/utils
zhsama 8834e6e531 feat(workflow): enhance group node functionality with head and leaf node tracking
- Added headNodeIds and leafNodeIds to GroupNodeData to track nodes that receive input and send output outside the group.
- Updated useNodesInteractions hook to include headNodeIds in the group node data.
- Modified isValidConnection logic in useWorkflow to validate connections based on leaf node types for group nodes.
- Enhanced preprocessNodesAndEdges to rebuild temporary edges for group nodes, connecting them to external nodes for visual representation.
2026-01-04 20:45:42 +08:00
..
common.ts fix(workflow_run): sequence_number race. (#21228) 2025-06-19 17:53:49 +08:00
data-source.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
debug.ts Fix type error (#27250) 2025-10-22 13:06:15 +08:00
edge.ts Chore/slice workflow utils (#17730) 2025-04-10 10:03:19 +08:00
elk-layout.ts feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +08:00
gen-node-meta-data.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
index.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
node-navigation.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
node.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
tool.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
trigger.ts feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
variable.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
workflow-entry.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
workflow-init.spec.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
workflow-init.ts feat(workflow): enhance group node functionality with head and leaf node tracking 2026-01-04 20:45:42 +08:00
workflow.ts Merge branch 'main' into feat/grouping-branching 2025-12-29 23:33:28 +08:00