From c7a81b2a1d9d3e0e3809e5ecc11d2e64e51e3d2c Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 09 四月 2024 15:24:11 +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