feat: construct the edge of the classification operator from dsl #918 (#1329)

### What problem does this PR solve?

feat: construct the edge of the classification operator from dsl #918

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-07-01 14:37:05 +08:00
committed by GitHub
parent 4542346f18
commit 5eb21b9c7c
6 changed files with 296 additions and 290 deletions

View File

@ -24,6 +24,21 @@ export function CategorizeNode({ id, data, selected }: NodeProps<NodeData>) {
position={Position.Left}
isConnectable
className={styles.handle}
id={'a'}
></Handle>
<Handle
type="target"
position={Position.Top}
isConnectable
className={styles.handle}
id={'b'}
></Handle>
<Handle
type="target"
position={Position.Bottom}
isConnectable
className={styles.handle}
id={'c'}
></Handle>
{Object.keys(categoryData).map((x, idx) => (
<CategorizeHandle