feat: Build the positions of the Switch handle #1739 (#2018)

### What problem does this PR solve?

feat: Build the positions of the Switch handle #1739

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-08-20 16:08:53 +08:00
committed by GitHub
parent 6f438e0a49
commit 02985fc905
5 changed files with 119 additions and 36 deletions

View File

@ -184,6 +184,14 @@ const useGraphStore = create<RFState>()(
'to',
]);
break;
// case Operator.Switch:
// if (sourceHandle)
// updateNodeForm(source, target, [
// 'conditions',
// sourceHandle,
// 'to',
// ]);
// break;
default:
break;
}