@@ -333,6 +333,17 @@ export const videoUnderstandNode = {
333333 } ,
334334 } ,
335335}
336+ export const variableAggregationNode = {
337+ type : WorkflowType . VariableAggregationNode ,
338+ text : t ( 'views.applicationWorkflow.nodes.variableAggregationNode.text' ) ,
339+ label : t ( 'views.applicationWorkflow.nodes.variableAggregationNode.label' ) ,
340+ height : 252 ,
341+ properties : {
342+ stepName : t ( 'views.applicationWorkflow.nodes.variableAggregationNode.label' ) ,
343+ config : { } ,
344+ } ,
345+ }
346+
336347
337348export const variableAssignNode = {
338349 type : WorkflowType . VariableAssignNode ,
@@ -626,6 +637,8 @@ export const menuNodes = [
626637 list : [ conditionNode , formNode , variableAssignNode , replyNode , loopNode ] ,
627638 } ,
628639 {
640+ label : t ( 'views.applicationWorkflow.nodes.classify.dataProcessing' , '数据处理' ) ,
641+ list : [ variableSplittingNode , parameterExtractionNode , variableAggregationNode ] ,
629642 label : t ( 'views.applicationWorkflow.nodes.classify.dataProcessing' ) ,
630643 list : [ variableSplittingNode , parameterExtractionNode ] ,
631644 } ,
@@ -767,6 +780,7 @@ export const nodeDict: any = {
767780 [ WorkflowType . VariableSplittingNode ] : variableSplittingNode ,
768781 [ WorkflowType . VideoUnderstandNode ] : videoUnderstandNode ,
769782 [ WorkflowType . ParameterExtractionNode ] : parameterExtractionNode ,
783+ [ WorkflowType . VariableAggregationNode ] : variableAggregationNode ,
770784}
771785
772786export function isWorkFlow ( type : string | undefined ) {
0 commit comments