perf: template

This commit is contained in:
archer
2023-07-23 16:08:00 +08:00
parent 5e0b147048
commit b7d18e38d1
7 changed files with 923 additions and 1338 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -31,6 +31,10 @@ export enum FlowModuleTypeEnum {
classifyQuestion = 'classifyQuestion'
}
export enum SpecialInputKeyEnum {
'answerText' = 'text'
}
export const initModuleType: Record<string, boolean> = {
[FlowModuleTypeEnum.historyNode]: true,
[FlowModuleTypeEnum.questionInput]: true
@@ -38,8 +42,8 @@ export const initModuleType: Record<string, boolean> = {
export const edgeOptions = {
style: {
strokeWidth: 1,
strokeWidth: 1.5,
stroke: '#5A646Es'
}
};
export const connectionLineStyle = { strokeWidth: 1, stroke: '#5A646Es' };
export const connectionLineStyle = { strokeWidth: 1.5, stroke: '#5A646Es' };