sfc实现中

This commit is contained in:
akwkevin
2021-07-30 18:26:35 +08:00
parent 336249f313
commit 9a0e85e1a9
17 changed files with 346 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
using AIStudio.Wpf.Flowchart;
using AIStudio.Wpf.SFC;
using System;
using System.Windows.Media;
using Util.DiagramDesigner;
@@ -52,6 +53,17 @@ namespace AIStudio.Wpf.ADiagram.Models
}
public class SFCToolBoxData : ToolBoxData
{
public SFCNodeKinds Kind { get; set; }
public SFCToolBoxData(SFCNodeKinds kind, Type type, double width = 32, double height = 32) : base(kind.GetDescription(), null, type, width, height)
{
Kind = kind;
ColorViewModel.LineColor.Color = Colors.Black;
}
}
public class DesignerItemToolBoxData : ToolBoxData
{
public string FileName { get; set; }