From 2fd1227c3cc542f0cffe17069db5fd130d908b88 Mon Sep 17 00:00:00 2001 From: 666ghj <670939375@qq.com> Date: Fri, 12 Dec 2025 19:15:43 +0800 Subject: [PATCH] Enhance Step3Simulation component with dynamic graph memory update feature - Added 'enable_graph_memory_update' parameter to the simulation start function, allowing for real-time updates of the dynamic graph. - Included a log message to indicate when dynamic graph update mode is activated, improving user feedback during simulations. --- frontend/src/components/Step3Simulation.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/Step3Simulation.vue b/frontend/src/components/Step3Simulation.vue index df4ec63..cbaeab6 100644 --- a/frontend/src/components/Step3Simulation.vue +++ b/frontend/src/components/Step3Simulation.vue @@ -388,7 +388,8 @@ const doStartSimulation = async () => { const params = { simulation_id: props.simulationId, platform: 'parallel', - force: true // 强制重新开始 + force: true, // 强制重新开始 + enable_graph_memory_update: true // 开启动态图谱更新 } if (props.maxRounds) { @@ -396,6 +397,8 @@ const doStartSimulation = async () => { addLog(`设置最大模拟轮数: ${props.maxRounds}`) } + addLog('已开启动态图谱更新模式') + const res = await startSimulation(params) if (res.success && res.data) {