1. 重新设计了Generate项目及相关特性的命名,避免与其他类型混淆。

2. 补充了部分注释。
3. 修改了删除容器节点时,容器内子节点未正确删除的问题。
This commit is contained in:
fengjiayi
2025-07-30 21:15:07 +08:00
parent 93148b11a5
commit 152077e9b5
188 changed files with 2713 additions and 1406 deletions

View File

@@ -20,7 +20,7 @@ namespace Serein.Workbench.ViewModels
/// <summary>
/// 流程编辑数据视图
/// </summary>
public partial class FlowEditViewModel : ObservableObject
internal partial class FlowEditViewModel : ObservableObject
{
/// <summary>
/// 画布集合

View File

@@ -8,7 +8,7 @@ using System.Windows.Input;
namespace Serein.Workbench.ViewModels
{
public class MainMenuBarViewModel : ObservableObject
internal class MainMenuBarViewModel : ObservableObject
{
private readonly IFlowEnvironment flowEnvironment;
private readonly FlowNodeService flowNodeService;

View File

@@ -10,10 +10,17 @@ using System.Windows;
namespace Serein.Workbench.ViewModels
{
/// <summary>
/// 主视图模型
/// </summary>
public class MainViewModel : ObservableObject
{
private readonly IKeyEventService keyEventService;
/// <summary>
/// 主视图模型构造函数
/// </summary>
/// <param name="keyEventService"></param>
public MainViewModel(IKeyEventService keyEventService)
{