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.
This commit is contained in:
666ghj 2025-12-12 19:15:43 +08:00
parent 307990d7b6
commit 2fd1227c3c

View file

@ -388,7 +388,8 @@ const doStartSimulation = async () => {
const params = { const params = {
simulation_id: props.simulationId, simulation_id: props.simulationId,
platform: 'parallel', platform: 'parallel',
force: true // force: true, //
enable_graph_memory_update: true //
} }
if (props.maxRounds) { if (props.maxRounds) {
@ -396,6 +397,8 @@ const doStartSimulation = async () => {
addLog(`设置最大模拟轮数: ${props.maxRounds}`) addLog(`设置最大模拟轮数: ${props.maxRounds}`)
} }
addLog('已开启动态图谱更新模式')
const res = await startSimulation(params) const res = await startSimulation(params)
if (res.success && res.data) { if (res.success && res.data) {