mirror of https://github.com/langgenius/dify.git
- 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. |
||
|---|---|---|
| .. | ||
| common.ts | ||
| data-source.ts | ||
| debug.ts | ||
| edge.ts | ||
| elk-layout.ts | ||
| gen-node-meta-data.ts | ||
| index.ts | ||
| node-navigation.ts | ||
| node.ts | ||
| tool.ts | ||
| trigger.ts | ||
| variable.ts | ||
| workflow-entry.ts | ||
| workflow-init.spec.ts | ||
| workflow-init.ts | ||
| workflow.ts | ||