Files
EasyFlow/easyflow-ui-admin/packages/tinyflow-ui/src/components/nodes/index.ts

30 lines
975 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import type {NodeTypes} from '@xyflow/svelte';
import StartNode from './StartNode.svelte';
import EndNode from './EndNode.svelte';
import LLMNode from './LLMNode.svelte';
import CodeNode from './CodeNode.svelte';
import TemplateNode from './TemplateNode.svelte';
import HttpNode from './HttpNode.svelte';
import KnowledgeNode from './KnowledgeNode.svelte';
import SearchEngineNode from './SearchEngineNode.svelte';
import LoopNode from './LoopNode.svelte';
import ConfirmNode from './ConfirmNode.svelte';
import ConditionNode from './ConditionNode.svelte';
/**
* @description 节点类型en: node type
*/
export const nodeTypes = {
startNode: StartNode,
codeNode: CodeNode,
confirmNode: ConfirmNode,
llmNode: LLMNode,
templateNode: TemplateNode,
httpNode: HttpNode,
knowledgeNode: KnowledgeNode,
searchEngineNode: SearchEngineNode,
loopNode: LoopNode,
conditionNode: ConditionNode,
endNode: EndNode
} as any as NodeTypes;