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. |
||
|---|---|---|
| .. | ||
| node.tsx | ||
| panel.tsx | ||
| types.ts | ||