From 0d04bc5d8080b82338302fba0a59fccff2eaedfc Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期日, 06 七月 2025 11:28:29 +0800 Subject: [PATCH] # --- zy-asrs-flow/src/components/Flow/GraphConfig.jsx | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/zy-asrs-flow/src/components/Flow/GraphConfig.jsx b/zy-asrs-flow/src/components/Flow/GraphConfig.jsx index 4f8bf75..646a93b 100644 --- a/zy-asrs-flow/src/components/Flow/GraphConfig.jsx +++ b/zy-asrs-flow/src/components/Flow/GraphConfig.jsx @@ -93,7 +93,7 @@ } const initGraphConnecting = { - router: 'manhattan', + // router: 'manhattan', connector: { name: 'rounded', args: { @@ -127,4 +127,17 @@ }, } -export { commonGraphPorts, commonGraphAttrs, initGraphConnecting } \ No newline at end of file +const initNodeData = { + codeContent: null, + root: false,//榛樿涓嶆槸鏍硅妭鐐� + isLogic: false,//榛樿涓嶆槸閫昏緫鍒ゆ柇 + logicBool: false,//閫昏緫鍒ゆ柇榛樿鍊� + searchLogicId: 1,//榛樿閫昏緫id + searchLogicBool: true,//榛樿閫昏緫id鏂瑰悜 + searchIndex: 0,//榛樿鎵ц浼樺厛绾� + type: "none", //缁勪欢绫诲瀷 + execClass: null,//鎵ц绫� + execApi: null,//鎵ц鎺ュ彛 +} + +export { commonGraphPorts, commonGraphAttrs, initGraphConnecting, initNodeData } \ No newline at end of file -- Gitblit v1.9.1