mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### 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:
@ -19,18 +19,27 @@ export const operatorIconMap = {
|
||||
[Operator.Begin]: SlidersOutlined,
|
||||
};
|
||||
|
||||
export const componentList = [
|
||||
export const operatorMap = {
|
||||
[Operator.Retrieval]: {
|
||||
description: 'Retrieval description drjlftglrthjftl',
|
||||
},
|
||||
[Operator.Generate]: { description: 'Generate description' },
|
||||
[Operator.Answer]: { description: 'Answer description' },
|
||||
[Operator.Begin]: { description: 'Begin description' },
|
||||
};
|
||||
|
||||
export const componentMenuList = [
|
||||
{
|
||||
name: Operator.Retrieval,
|
||||
description: '',
|
||||
description: operatorMap[Operator.Retrieval].description,
|
||||
},
|
||||
{
|
||||
name: Operator.Generate,
|
||||
description: '',
|
||||
description: operatorMap[Operator.Generate].description,
|
||||
},
|
||||
{
|
||||
name: Operator.Answer,
|
||||
description: '',
|
||||
description: operatorMap[Operator.Answer].description,
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user