Feat: Limit the iteration start node to only be the source node #4242 (#4260)

### What problem does this PR solve?

Feat: Limit the iteration start node to only be the source node #4242

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-12-27 14:25:15 +08:00
committed by GitHub
parent f948c0d9f1
commit 146e8bb793
7 changed files with 12 additions and 4 deletions

View File

@ -44,8 +44,6 @@ export function ButtonEdge({
};
// highlight the nodes that the workflow passes through
// const queryClient = useQueryClient();
// const flowDetail = queryClient.getQueryData<IFlow>(['flowDetail']);
const { data: flowDetail } = useFetchFlow();
const graphPath = useMemo(() => {

View File

@ -109,6 +109,7 @@ export function IterationStartNode({
isConnectable={isConnectable}
className={styles.handle}
style={RightHandleStyle}
isConnectableEnd={false}
></Handle>
<div>
<ListRestart className="size-7" />