feat: add delete menu to graph node #918 (#1133)

### What problem does this PR solve?
feat: add delete menu to graph node #918

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-06-12 17:38:41 +08:00
committed by GitHub
parent e05395d2a7
commit 3b7b6240c3
10 changed files with 149 additions and 97 deletions

View File

@ -18,12 +18,12 @@ import {
useSelectCanvasData,
useShowDrawer,
} from '../hooks';
import { TextUpdaterNode } from './node';
import { RagNode } from './node';
import ChatDrawer from '../chat/drawer';
import styles from './index.less';
const nodeTypes = { textUpdater: TextUpdaterNode };
const nodeTypes = { ragNode: RagNode };
const edgeTypes = {
buttonEdge: ButtonEdge,