ci4sManagement-cloud/react-ui/mock/components.ts

1292 lines
40 KiB
TypeScript
Raw Permalink 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 { defineMock } from 'umi';
export default defineMock({
'GET /api/mmp/workflow/235': {
code: 200,
msg: '操作成功',
data: {
id: 233,
name: '分布式训练',
description: 'aa',
dag: {
nodes: [
{
id: 'git-clone-c0724278',
category_id: 1,
component_name: 'git-clone',
component_label: '代码拉取组件',
task_info: {
image: {
type: 'ref',
item_type: 'image',
label: '镜像',
value: null,
visible: false,
editable: false,
require: 1,
default: '',
condition: '',
description: '克隆代码的镜像',
placeholder: '请选择镜像',
rulers: {},
},
working_directory: {
type: 'str',
item_type: '',
label: '工作目录',
value: '',
visible: false,
editable: false,
require: 1,
default: '',
placeholder: '请输入工作目录',
condition: '',
description: '容器内的工作目录',
rulers: {},
},
command: {
type: 'str',
item_type: '',
label: '启动命令',
value: '',
visible: false,
editable: false,
require: 1,
default: '',
placeholder: '请输入启动命令',
description: '启动命令,不包括运行参数',
rulers: '',
},
run_args: {
type: 'map',
item_type: '',
label: '运行参数',
value: [],
visible: false,
editable: false,
require: 0,
default: '',
placeholder: '',
condition: '',
description: '运行命令的参数',
rulers: '',
},
resources_standard: {
type: 'select',
item_type: 'resource',
label: '资源',
value: {},
visible: false,
editable: false,
require: 1,
default: '',
placeholder: '',
condition: '',
description: '资源规格',
rulers: {},
},
},
control_strategy: {
retry_times: {
type: 'str',
item_type: '',
label: '重试次数',
require: 0,
default: '',
placeholder: '',
describe: '任务重试次数',
visible: true,
editable: false,
condition: '',
value: '',
rulers: {},
},
max_run_times: {
type: 'str',
item_type: '',
label: '最大运行时间',
require: 0,
default: '',
placeholder: '',
describe: '最大运行时间',
editable: false,
visible: true,
condition: '',
value: '',
rulers: {},
},
},
in_parameters: {
'--code_config': {
type: 'ref',
item_type: 'code',
label: '代码配置',
require: 1,
default: '',
placeholder: '私有仓库填写ssh地址公有仓库填写https git地址',
describe:
'代码配置支持私有仓库和公有仓库私有仓库填写ssh地址公有仓库填写https git地址',
editable: false,
visible: true,
condition: '',
value: {
id: 21,
code_repo_name: '原子掺杂识别',
code_repo_vis: 1,
is_public: true,
git_url: 'https://gitlink.org.cn/somunslotus/material-atom-predict.git',
git_branch: 'master',
verify_mode: null,
git_user_name: null,
git_password: null,
ssh_key: null,
create_by: 'admin',
create_time: '2025-03-12T16:46:08.000+08:00',
update_by: 'admin',
update_time: '2025-03-14T14:59:19.000+08:00',
state: 1,
},
rulers: {},
showValue: '原子掺杂识别',
fromSelect: true,
},
},
out_parameters: {
'--code_output': {
type: 'str',
item_type: 'code',
label: '代码保存路径',
require: 1,
default: '/code',
editable: false,
visible: true,
placeholder: '代码保存路径',
describe: '代码保存路径',
condition: '',
showValue: '/mycode',
value: '/mycode',
rulers: {},
fromSelect: false,
},
},
available_range: 0,
description: '代码拉取组件',
icon_path: 'component-icon-1',
create_by: 'admin',
create_time: '2024-09-02T06:08:06.000+08:00',
update_by: 'admin',
update_time: '2024-09-02T06:08:06.000+08:00',
state: 1,
env_variables: [],
x: 612,
y: 215,
label: '代码拉取',
isCluster: false,
formError: false,
type: 'rect-node',
size: [110, 36],
labelCfg: {
style: {
fill: 'transparent',
fontSize: 0,
boxShadow: '0px 0px 12px rgba(75, 84, 137, 0.05)',
overflow: 'hidden',
x: -20,
y: 0,
textAlign: 'left',
textBaseline: 'middle',
},
},
style: {
active: {
fill: 'rgb(247, 250, 255)',
stroke: 'rgb(95, 149, 255)',
lineWidth: 2,
shadowColor: 'rgb(95, 149, 255)',
shadowBlur: 10,
},
selected: {
fill: 'rgb(255, 255, 255)',
stroke: 'rgb(95, 149, 255)',
lineWidth: 4,
shadowColor: 'rgb(95, 149, 255)',
shadowBlur: 10,
'text-shape': {
fontWeight: 500,
},
},
highlight: {
fill: 'rgb(223, 234, 255)',
stroke: '#4572d9',
lineWidth: 2,
'text-shape': {
fontWeight: 500,
},
},
inactive: {
fill: 'rgb(247, 250, 255)',
stroke: 'rgb(191, 213, 255)',
lineWidth: 1,
},
disable: {
fill: 'rgb(250, 250, 250)',
stroke: 'rgb(224, 224, 224)',
lineWidth: 1,
},
fill: '#fff',
stroke: 'transparent',
cursor: 'pointer',
radius: 8,
shadowColor: 'rgba(75, 84, 137, 0.4)',
shadowBlur: 6,
shadowOffsetX: 0,
shadowOffsetY: 0,
overflow: 'hidden',
lineWidth: 0.5,
},
depth: 0,
},
{
id: 'model-train-39e9bc7c',
category_id: 2,
component_name: 'model-train',
component_label: '模型训练',
task_info: {
image: {
type: 'ref',
item_type: 'image',
label: '镜像',
value: {},
visible: true,
editable: true,
require: 1,
default: '',
condition: '',
description: '镜像',
placeholder: '',
rulers: {},
},
working_directory: {
type: 'str',
item_type: '',
label: '工作目录',
value: '{{git-clone-c0724278.--code_output}}',
visible: true,
editable: true,
require: 1,
default: '',
placeholder: '',
condition: '',
description: '容器内的工作目录',
rulers: {},
},
command: {
type: 'str',
item_type: '',
label: '启动命令',
value: 'conda run -n atom-predict python recognize_dophant/egnn/train_pl_vor.py',
visible: true,
editable: true,
require: 1,
default: '',
placeholder: '',
description: '启动命令,不包括运行参数',
rulers: '',
},
run_args: {
type: 'map',
item_type: '',
label: '运行参数',
value: [],
visible: true,
editable: true,
require: 0,
default: '',
placeholder: '',
condition: '',
description: '运行命令的参数',
rulers: '',
},
resources_standard: {
type: 'select',
item_type: 'resource',
label: '资源',
value: {
id: 30,
resource_id: 4,
computing_resource: 'CPU',
standard: {
name: 'CPU',
value: {
gpu: 0,
cpu: 4,
memory: '8GB',
},
},
description: 'GPU: 0, CPU:4, 内存: 8GB',
cpu_cores: 4,
memory_gb: 8,
gpu_memory_gb: 0,
gpu_nums: 0,
credit_per_hour: 2.0,
labels: 'accelertor=cpu',
create_by: 'admin',
create_time: '2024-04-19T11:39:40.000+08:00',
update_by: 'admin',
update_time: '2024-04-19T11:39:40.000+08:00',
state: 1,
},
visible: true,
editable: true,
require: 1,
default: '',
placeholder: '',
condition: '',
description: '资源规格',
rulers: {},
},
},
control_strategy: {
retry_times: {
type: 'str',
item_type: '',
label: '重试次数',
require: 0,
default: '',
placeholder: '',
describe: '任务重试次数',
visible: true,
editable: true,
condition: '',
value: '',
rulers: {},
},
max_run_times: {
type: 'str',
item_type: '',
label: '最大运行时间',
require: 0,
default: '',
placeholder: '',
describe: '最大运行时间',
editable: true,
visible: true,
condition: '',
value: '',
rulers: {},
},
},
in_parameters: {
'--dataset': {
type: 'ref',
item_type: 'dataset',
label: '选择数据集',
require: 1,
default: '',
placeholder: '',
describe: '选择数据集',
condition: '',
visible: true,
editable: true,
value: {
id: '73',
name: '原子掺杂识别场景测试',
version: 'v1',
path: 'fanshuai/datasets/73/fanshuai_dataset_20250519103524/v1/dataset',
identifier: 'fanshuai_dataset_20250519103524',
owner: 'fanshuai',
},
rulers: {},
showValue: '原子掺杂识别场景测试:v1',
fromSelect: true,
activeTab: 'Private',
expandedKeys: ['73'],
checkedKeys: ['73-v1'],
},
'--model_name': {
type: 'ref',
item_type: 'model',
label: '选择模型',
require: 0,
default: '',
placeholder: '',
describe: '最大运行时间',
editable: true,
visible: true,
condition: '',
value: {
id: '39',
name: '原子参杂识别模型',
version: 'v1',
path: 'fanshuai/model/39/fanshuai_model_20250513113514/v1/model',
identifier: 'fanshuai_model_20250513113514',
owner: 'fanshuai',
},
rulers: {},
showValue: '原子参杂识别模型:v1',
fromSelect: true,
activeTab: 'Private',
expandedKeys: ['39'],
checkedKeys: ['39-v1'],
},
},
out_parameters: {
'--model_output': {
type: 'str',
item_type: '',
label: '模型输出路径',
require: 1,
showValue: '/model',
default: '',
placeholder: '',
describe: '模型输出路径',
editable: true,
visible: true,
rulers: {},
condition: '',
value: '/model',
fromSelect: false,
},
},
available_range: 1,
description: '通用模型训练组件介绍',
icon_path: 'component-icon-2',
create_by: 'admin',
create_time: '2024-05-28T07:33:53.000+08:00',
update_by: 'admin',
update_time: '2024-05-28T07:33:53.000+08:00',
state: 1,
env_variables: [],
x: 596,
y: 348,
label: '模型训练',
isCluster: false,
formError: false,
type: 'rect-node',
size: [110, 36],
labelCfg: {
style: {
fill: 'transparent',
fontSize: 0,
boxShadow: '0px 0px 12px rgba(75, 84, 137, 0.05)',
overflow: 'hidden',
x: -20,
y: 0,
textAlign: 'left',
textBaseline: 'middle',
},
},
style: {
active: {
fill: 'rgb(247, 250, 255)',
stroke: 'rgb(95, 149, 255)',
lineWidth: 2,
shadowColor: 'rgb(95, 149, 255)',
shadowBlur: 10,
},
selected: {
fill: 'rgb(255, 255, 255)',
stroke: 'rgb(95, 149, 255)',
lineWidth: 4,
shadowColor: 'rgb(95, 149, 255)',
shadowBlur: 10,
'text-shape': {
fontWeight: 500,
},
},
highlight: {
fill: 'rgb(223, 234, 255)',
stroke: '#4572d9',
lineWidth: 2,
'text-shape': {
fontWeight: 500,
},
},
inactive: {
fill: 'rgb(247, 250, 255)',
stroke: 'rgb(191, 213, 255)',
lineWidth: 1,
},
disable: {
fill: 'rgb(250, 250, 250)',
stroke: 'rgb(224, 224, 224)',
lineWidth: 1,
},
fill: '#fff',
stroke: 'transparent',
cursor: 'pointer',
radius: 8,
shadowColor: 'rgba(75, 84, 137, 0.4)',
shadowBlur: 6,
shadowOffsetX: 0,
shadowOffsetY: 0,
overflow: 'hidden',
lineWidth: 0.5,
},
depth: 0,
},
{
id: 'model-evaluate-c5b68e7c',
category_id: 4,
component_name: 'model-evaluate',
component_label: '模型测试',
task_info: {
image: {
type: 'ref',
item_type: 'image',
label: '镜像',
value: {
id: 15,
image_id: 17,
version: 'v1',
description: null,
url: '172.20.32.187/machine-learning/atom-egnn:v2',
tag_name: 'v1',
file_size: '125MB',
status: 'Available',
create_by: 'fanshuai',
create_time: '2024-04-18T00:00:00.000+08:00',
update_by: 'admin',
update_time: '2024-04-18T00:00:00.000+08:00',
state: 1,
host_ip: null,
},
visible: false,
editable: false,
require: 0,
default: '',
condition: '',
description: '镜像',
placeholder: '',
rulers: {},
},
working_directory: {
type: 'str',
item_type: '',
label: '工作目录',
value: '{{git-clone-c0724278.--code_output}}',
visible: false,
editable: false,
require: 0,
default: '',
placeholder: '',
condition: '',
description: '容器内的工作目录',
rulers: {},
},
command: {
type: 'str',
item_type: '',
label: '启动命令',
value: 'conda run -n atom-predict python recognize_dophant/egnn/test_pl_vor.py',
visible: false,
editable: false,
require: 0,
default: '',
placeholder: '',
description: '启动命令,不包括运行参数',
rulers: '',
},
run_args: {
type: 'map',
item_type: '',
label: '运行参数',
value: [],
visible: false,
editable: false,
require: 0,
default: '',
placeholder: '',
condition: '',
description: '运行命令的参数',
rulers: '',
},
resources_standard: {
type: 'select',
item_type: 'resource',
label: '资源',
value: {
id: 30,
resource_id: 4,
computing_resource: 'CPU',
standard: {
name: 'CPU',
value: {
gpu: 0,
cpu: 4,
memory: '8GB',
},
},
description: 'GPU: 0, CPU:4, 内存: 8GB',
cpu_cores: 4,
memory_gb: 8,
gpu_memory_gb: 0,
gpu_nums: 0,
credit_per_hour: 2.0,
labels: 'accelertor=cpu',
create_by: 'admin',
create_time: '2024-04-19T11:39:40.000+08:00',
update_by: 'admin',
update_time: '2024-04-19T11:39:40.000+08:00',
state: 1,
},
visible: true,
editable: true,
require: 1,
default: '',
placeholder: '',
condition: '',
description: '资源规格',
rulers: {},
},
},
control_strategy: {
retry_times: {
type: 'str',
item_type: '',
label: '重试次数',
require: 0,
default: '',
placeholder: '',
describe: '任务重试次数',
visible: true,
editable: true,
condition: '',
value: '',
rulers: {},
},
max_run_times: {
type: 'str',
item_type: '',
label: '最大运行时间',
require: 0,
default: '',
placeholder: '',
describe: '最大运行时间',
editable: true,
visible: true,
condition: '',
value: '',
rulers: {},
},
},
in_parameters: {
'--dataset': {
type: 'ref',
item_type: 'dataset',
label: '选择数据集',
require: 1,
default: '',
placeholder: '',
describe: '选择数据集',
condition: '',
editable: true,
visible: true,
value: {
id: '74',
name: '原子掺杂识别模型测试数据集',
version: 'v2',
path: 'fanshuai/datasets/74/fanshuai_dataset_20250519103749/v2/dataset',
identifier: 'fanshuai_dataset_20250519103749',
owner: 'fanshuai',
},
rulers: {},
showValue: '原子掺杂识别模型测试数据集:v2',
fromSelect: true,
activeTab: 'Private',
expandedKeys: ['74'],
checkedKeys: ['74-v2'],
},
'--model_name': {
type: 'ref',
item_type: 'model',
label: '选择模型',
require: 1,
editable: true,
visible: true,
rulers: {},
default: '',
placeholder: '',
describe: '这里是这个参数的描述和备注',
condition: '',
value: '{{model-train-39e9bc7c.--model_output}}',
showValue: '{{model-train-39e9bc7c.--model_output}}',
fromSelect: true,
},
},
out_parameters: {
'--model_output': {
type: 'str',
item_type: '',
label: '模型测试结果路径',
editable: true,
visible: true,
rulers: {},
default: '',
placeholder: '',
describe: '这里是这个参数的描述和备注',
condition: '',
require: 1,
showValue: '/result',
value: '/result',
fromSelect: false,
},
},
available_range: 1,
description: '模型测试',
icon_path: 'component-icon-4',
create_by: 'admin',
create_time: '2024-05-24T07:00:10.000+08:00',
update_by: 'admin',
update_time: '2024-05-24T07:00:10.000+08:00',
state: 1,
env_variables: [],
x: 600,
y: 460,
label: '模型评估',
isCluster: false,
formError: false,
type: 'rect-node',
size: [110, 36],
labelCfg: {
style: {
fill: 'transparent',
fontSize: 0,
boxShadow: '0px 0px 12px rgba(75, 84, 137, 0.05)',
overflow: 'hidden',
x: -20,
y: 0,
textAlign: 'left',
textBaseline: 'middle',
},
},
style: {
active: {
fill: 'rgb(247, 250, 255)',
stroke: 'rgb(95, 149, 255)',
lineWidth: 2,
shadowColor: 'rgb(95, 149, 255)',
shadowBlur: 10,
},
selected: {
fill: 'rgb(255, 255, 255)',
stroke: 'rgb(95, 149, 255)',
lineWidth: 4,
shadowColor: 'rgb(95, 149, 255)',
shadowBlur: 10,
'text-shape': {
fontWeight: 500,
},
},
highlight: {
fill: 'rgb(223, 234, 255)',
stroke: '#4572d9',
lineWidth: 2,
'text-shape': {
fontWeight: 500,
},
},
inactive: {
fill: 'rgb(247, 250, 255)',
stroke: 'rgb(191, 213, 255)',
lineWidth: 1,
},
disable: {
fill: 'rgb(250, 250, 250)',
stroke: 'rgb(224, 224, 224)',
lineWidth: 1,
},
fill: '#fff',
stroke: 'transparent',
cursor: 'pointer',
radius: 8,
shadowColor: 'rgba(75, 84, 137, 0.4)',
shadowBlur: 6,
shadowOffsetX: 0,
shadowOffsetY: 0,
overflow: 'hidden',
lineWidth: 0.5,
},
depth: 0,
},
{
id: 'model-export-edcf438e',
category_id: 6,
component_name: 'model-export',
component_label: '模型导出',
task_info: {
image: {
type: 'ref',
item_type: 'image',
label: '镜像',
value: {},
visible: true,
editable: true,
require: 1,
default: '',
condition: '',
description: '镜像',
placeholder: '',
rulers: {},
},
working_directory: {
type: 'str',
item_type: '',
label: '工作目录',
value: '{{git-clone-c0724278.--code_output}}',
visible: true,
editable: true,
require: 1,
default: '',
placeholder: '',
condition: '',
description: '容器内的工作目录',
rulers: {},
},
command: {
type: 'str',
item_type: '',
label: '启动命令',
value: 'conda run -n atom-predict python recognize_dophant/egnn/test_pl_vor.py',
visible: true,
editable: true,
require: 1,
default: '',
placeholder: '',
description: '启动命令,不包括运行参数',
rulers: '',
},
run_args: {
type: 'map',
item_type: '',
label: '运行参数',
value: [],
visible: true,
editable: true,
require: 0,
default: '',
placeholder: '',
condition: '',
description: '运行命令的参数',
rulers: '',
},
resources_standard: {
type: 'select',
item_type: 'resource',
label: '资源',
value: {},
visible: false,
editable: false,
require: 1,
default: '',
placeholder: '',
condition: '',
description: '资源规格',
rulers: {},
},
},
control_strategy: {
retry_times: {
type: 'str',
item_type: '',
label: '重试次数',
require: 0,
default: '',
placeholder: '',
describe: '任务重试次数',
visible: true,
editable: true,
condition: '',
value: '',
rulers: {},
},
max_run_times: {
type: 'str',
item_type: '',
label: '最大运行时间',
require: 0,
default: '',
placeholder: '',
describe: '最大运行时间',
editable: true,
visible: true,
condition: '',
value: '',
rulers: {},
},
},
in_parameters: {
'--model_source': {
type: 'str',
item_type: '',
label: '模型来源',
require: 1,
default: '',
placeholder: '模型来源',
describe: '模型来源',
editable: true,
visible: true,
condition: '',
value: '{{model-train-39e9bc7c.--model_output}}',
rulers: {},
fromSelect: true,
showValue: '{{model-train-39e9bc7c.--model_output}}',
},
'--model_id': {
type: 'select',
item_type: 'model',
label: '导出到模型',
require: 1,
default: '',
placeholder: '',
describe: '导出到模型',
editable: true,
visible: true,
condition: '',
value: {
id: '76',
name: '原子掺杂识别模型场景测试',
identifier: 'fanshuai_model_20250519105223',
owner: 'fanshuai',
},
rulers: {},
},
'--version': {
type: 'str',
item_type: '',
label: '模型版本',
require: 1,
choice: [],
default: '1',
placeholder: '',
describe: '模型版本',
editable: false,
condition: '',
showValue: '${model_version}',
value: '${model_version}',
fromSelect: false,
},
'--description': {
type: 'str',
item_type: '',
label: '版本描述',
require: 1,
choice: [],
default: '',
placeholder: '版本描述',
describe: '版本描述',
editable: false,
condition: '',
showValue: '流水线自动导出',
value: '流水线自动导出',
fromSelect: false,
},
},
available_range: 0,
description: '模型导出',
icon_path: 'component-icon-8',
create_by: 'admin',
create_time: '2024-05-29T01:12:01.000+08:00',
update_by: 'admin',
update_time: '2024-05-29T09:11:55.000+08:00',
state: 1,
env_variables: [],
x: 592,
y: 581,
label: '模型导出',
isCluster: false,
formError: false,
type: 'rect-node',
size: [110, 36],
labelCfg: {
style: {
fill: 'transparent',
fontSize: 0,
boxShadow: '0px 0px 12px rgba(75, 84, 137, 0.05)',
overflow: 'hidden',
x: -20,
y: 0,
textAlign: 'left',
textBaseline: 'middle',
},
},
style: {
active: {
fill: 'rgb(247, 250, 255)',
stroke: 'rgb(95, 149, 255)',
lineWidth: 2,
shadowColor: 'rgb(95, 149, 255)',
shadowBlur: 10,
},
selected: {
fill: 'rgb(255, 255, 255)',
stroke: 'rgb(95, 149, 255)',
lineWidth: 4,
shadowColor: 'rgb(95, 149, 255)',
shadowBlur: 10,
'text-shape': {
fontWeight: 500,
},
},
highlight: {
fill: 'rgb(223, 234, 255)',
stroke: '#4572d9',
lineWidth: 2,
'text-shape': {
fontWeight: 500,
},
},
inactive: {
fill: 'rgb(247, 250, 255)',
stroke: 'rgb(191, 213, 255)',
lineWidth: 1,
},
disable: {
fill: 'rgb(250, 250, 250)',
stroke: 'rgb(224, 224, 224)',
lineWidth: 1,
},
fill: '#fff',
stroke: 'transparent',
cursor: 'pointer',
radius: 8,
shadowColor: 'rgba(75, 84, 137, 0.4)',
shadowBlur: 6,
shadowOffsetX: 0,
shadowOffsetY: 0,
overflow: 'hidden',
lineWidth: 0.5,
},
depth: 0,
},
],
edges: [
{
source: 'git-clone-c0724278',
target: 'model-train-39e9bc7c',
style: {
endArrow: {
path: 'M 6,0 L 9,-1.5 L 9,1.5 Z',
d: 4.5,
fill: '#CDD0DC',
},
cursor: 'pointer',
lineWidth: 1,
lineAppendWidth: 4,
opacity: 1,
stroke: '#CDD0DC',
radius: 1,
active: {
stroke: 'rgb(95, 149, 255)',
lineWidth: 1,
},
selected: {
stroke: 'rgb(95, 149, 255)',
lineWidth: 2,
shadowColor: 'rgb(95, 149, 255)',
shadowBlur: 10,
'text-shape': {
fontWeight: 500,
},
},
highlight: {
stroke: 'rgb(95, 149, 255)',
lineWidth: 2,
'text-shape': {
fontWeight: 500,
},
},
inactive: {
stroke: 'rgb(234, 234, 234)',
lineWidth: 1,
},
disable: {
stroke: 'rgb(245, 245, 245)',
lineWidth: 1,
},
},
labelCfg: {
autoRotate: true,
style: {
fontSize: 10,
fill: '#FFF',
},
},
id: 'edge-0.163955357654560491741769193740',
startPoint: {
x: 612,
y: 233.25,
anchorIndex: 1,
},
endPoint: {
x: 596,
y: 329.75,
anchorIndex: 0,
},
sourceAnchor: 1,
targetAnchor: 0,
type: 'cubic-vertical',
curvePosition: [0.5, 0.5],
minCurveOffset: [0, 0],
depth: 0,
},
{
source: 'model-train-39e9bc7c',
target: 'model-evaluate-c5b68e7c',
style: {
endArrow: {
path: 'M 6,0 L 9,-1.5 L 9,1.5 Z',
d: 4.5,
fill: '#CDD0DC',
},
cursor: 'pointer',
lineWidth: 1,
lineAppendWidth: 4,
opacity: 1,
stroke: '#CDD0DC',
radius: 1,
active: {
stroke: 'rgb(95, 149, 255)',
lineWidth: 1,
},
selected: {
stroke: 'rgb(95, 149, 255)',
lineWidth: 2,
shadowColor: 'rgb(95, 149, 255)',
shadowBlur: 10,
'text-shape': {
fontWeight: 500,
},
},
highlight: {
stroke: 'rgb(95, 149, 255)',
lineWidth: 2,
'text-shape': {
fontWeight: 500,
},
},
inactive: {
stroke: 'rgb(234, 234, 234)',
lineWidth: 1,
},
disable: {
stroke: 'rgb(245, 245, 245)',
lineWidth: 1,
},
},
labelCfg: {
autoRotate: true,
style: {
fontSize: 10,
fill: '#FFF',
},
},
id: 'edge-0.150681812754051241741769198063',
startPoint: {
x: 596,
y: 366.25,
anchorIndex: 1,
},
endPoint: {
x: 600,
y: 441.75,
anchorIndex: 0,
},
sourceAnchor: 1,
targetAnchor: 0,
type: 'cubic-vertical',
curvePosition: [0.5, 0.5],
minCurveOffset: [0, 0],
depth: 0,
},
{
source: 'model-evaluate-c5b68e7c',
target: 'model-export-edcf438e',
style: {
endArrow: {
path: 'M 6,0 L 9,-1.5 L 9,1.5 Z',
d: 4.5,
fill: '#CDD0DC',
},
cursor: 'pointer',
lineWidth: 1,
lineAppendWidth: 4,
opacity: 1,
stroke: '#CDD0DC',
radius: 1,
active: {
stroke: 'rgb(95, 149, 255)',
lineWidth: 1,
},
selected: {
stroke: 'rgb(95, 149, 255)',
lineWidth: 2,
shadowColor: 'rgb(95, 149, 255)',
shadowBlur: 10,
'text-shape': {
fontWeight: 500,
},
},
highlight: {
stroke: 'rgb(95, 149, 255)',
lineWidth: 2,
'text-shape': {
fontWeight: 500,
},
},
inactive: {
stroke: 'rgb(234, 234, 234)',
lineWidth: 1,
},
disable: {
stroke: 'rgb(245, 245, 245)',
lineWidth: 1,
},
},
labelCfg: {
autoRotate: true,
style: {
fontSize: 10,
fill: '#FFF',
},
},
id: 'edge-0.40652053406360491741769205906',
startPoint: {
x: 600,
y: 478.25,
anchorIndex: 1,
},
endPoint: {
x: 592,
y: 562.75,
anchorIndex: 0,
},
sourceAnchor: 1,
targetAnchor: 0,
type: 'cubic-vertical',
curvePosition: [0.5, 0.5],
minCurveOffset: [0, 0],
depth: 0,
},
],
combos: [],
},
global_param: null,
create_by: 'fanshuai',
create_time: '2025-06-19T19:50:47.000+08:00',
update_by: 'fanshuai',
update_time: '2025-06-24T09:28:28.000+08:00',
state: 1,
},
},
});