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:
parent
307990d7b6
commit
2fd1227c3c
1 changed files with 4 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue