mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-26 11:06:35 +08:00
1.优化了平移缩放逻辑
2.优化了触发器的执行,优化了节点执行时的代码逻辑 3.优化了节点方法委托的参数获取
This commit is contained in:
@@ -23,6 +23,12 @@ namespace Serein.NodeFlow.Base
|
||||
SuccessorNodes[ctType] = [];
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 是否中断(调试中断功能)
|
||||
/// </summary>
|
||||
public bool IsInterrupt { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 节点对应的控件类型
|
||||
/// </summary>
|
||||
@@ -65,11 +71,6 @@ namespace Serein.NodeFlow.Base
|
||||
|
||||
public ConnectionType NextOrientation { get; set; } = ConnectionType.None;
|
||||
|
||||
/// <summary>
|
||||
/// 当前执行状态(进入真分支还是假分支,异常分支在异常中确定)
|
||||
/// </summary>
|
||||
// public FlowStateType FlowState { get; set; } = FlowStateType.Cancel;
|
||||
|
||||
/// <summary>
|
||||
/// 运行时的异常信息(仅在 FlowState 为 Error 时存在对应值)
|
||||
/// </summary>
|
||||
@@ -80,10 +81,17 @@ namespace Serein.NodeFlow.Base
|
||||
/// </summary>
|
||||
public object? FlowData { get; set; } = null;
|
||||
|
||||
// public NodeModelBaseBuilder Build() => new NodeModelBaseBuilder(this);
|
||||
}
|
||||
|
||||
|
||||
public class DebugInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 是否中断
|
||||
/// </summary>
|
||||
public bool IsInterrupt { get;set; }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 节点基类(数据):条件控件,动作控件,条件区域,动作区域
|
||||
|
||||
Reference in New Issue
Block a user