mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-09 10:46:37 +08:00
Flowchart
This commit is contained in:
@@ -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","文本" },
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user