From 0dab5a05ed6e734a83c43f8e6e5ef1b07115f48d Mon Sep 17 00:00:00 2001 From: Junjie <540245094@qq.com> Date: 星期二, 10 十二月 2024 10:50:54 +0800 Subject: [PATCH] #path similarity --- 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