Flowchart

This commit is contained in:
艾竹
2022-12-04 23:07:20 +08:00
parent dc42f75610
commit 0487857d7b
30 changed files with 1621 additions and 383 deletions

View File

@@ -15,9 +15,6 @@ namespace AIStudio.Wpf.Flowchart.ViewModels
{
Kind = kind;
Text = Kind.GetDescription();
ItemWidth = 80;
ItemHeight = 40;
}
public FlowNode(IDiagramViewModel parent, DesignerItemBase designer) : base(parent, designer)
@@ -70,6 +67,9 @@ namespace AIStudio.Wpf.Flowchart.ViewModels
[Browsable(false)]
public string StateImage { get; set; }
[Browsable(true)]
public string Name{ get; set; }
#region 使,
private int _status;
@@ -102,7 +102,8 @@ namespace AIStudio.Wpf.Flowchart.ViewModels
get
{
return new Dictionary<string, string>()
{
{
{ "Name","名称" },
{ "Text","文本" },
};
}