mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-08 02:30:49 +08:00
运行环境新增了画布相关的属性
This commit is contained in:
@@ -132,7 +132,6 @@ namespace Serein.NodeFlow.Env
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 从某个节点开始运行
|
||||
/// </summary>
|
||||
@@ -164,6 +163,18 @@ namespace Serein.NodeFlow.Env
|
||||
_ = remoteFlowEnvironment.InvokeTriggerAsync<object>(msgId, null);
|
||||
}
|
||||
|
||||
[AutoSocketHandle(ThemeValue = EnvMsgTheme.CreateCanvas, IsReturnValue = false)]
|
||||
public void CreateCanvas([UseMsgId] string msgId, [UseData] FlowCanvasInfo canvasInfo)
|
||||
{
|
||||
_ = remoteFlowEnvironment.InvokeTriggerAsync(msgId, canvasInfo);
|
||||
}
|
||||
|
||||
[AutoSocketHandle(ThemeValue = EnvMsgTheme.RemoveCanvas, IsReturnValue = false)]
|
||||
public void RemoveCanvas([UseMsgId] string msgId, [UseData] bool state)
|
||||
{
|
||||
_ = remoteFlowEnvironment.InvokeTriggerAsync(msgId, state);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 创建节点
|
||||
|
||||
Reference in New Issue
Block a user