改写NodeModelBase类,使其继承Serein.Library.Api下的IFlowNode接口,而实现类迁移到NodeModel项目,方便后续节点运行逻辑修改时不用重新编译类库。

This commit is contained in:
fengjiayi
2025-05-31 12:15:01 +08:00
parent cc0b084c84
commit 84390b574f
36 changed files with 562 additions and 121 deletions

View File

@@ -23,11 +23,11 @@ namespace Serein.Workbench.Node.View
/// <summary>
/// 起始节点
/// </summary>
public NodeModelBase StartNode { get; set; }
public IFlowNode StartNode { get; set; }
/// <summary>
/// 目标节点
/// </summary>
public NodeModelBase EndNode { get; set; }
public IFlowNode EndNode { get; set; }
/// <summary>
/// 来源于起始节点的(控制点)类型
@@ -63,7 +63,7 @@ namespace Serein.Workbench.Node.View
/// <summary>
/// 对应的视图对象
/// </summary>
public NodeModelBase NodeModel { get; set; }
public IFlowNode NodeModel { get; set; }
/// <summary>
///
/// </summary>