This commit is contained in:
艾竹
2023-03-10 12:09:13 +08:00
parent e4f6335224
commit b3c7e1efec
20 changed files with 442 additions and 255 deletions

View File

@@ -25,7 +25,7 @@ namespace AIStudio.Wpf.Flowchart.Models
RoleIds = middleFlow.RoleIds;
ActType = middleFlow.ActType;
}
Color = item.Color;
Color = item.StatusColor;
Kind = item.Kind;
StateImage = item.StateImage;
}

View File

@@ -58,6 +58,17 @@ namespace AIStudio.Wpf.Flowchart.Models
get; set;
}
/// <summary>
/// Gets or sets the color.
/// </summary>
/// <value>
/// The color.
/// </value>
public string StatusColor
{
get; set;
}
public override DiagramItemViewModel ToNodel(IDiagramViewModel diagramViewModel)
{
FlowNode flowNode = null;
@@ -108,7 +119,7 @@ namespace AIStudio.Wpf.Flowchart.Models
}
flowNode.Name = Name;
flowNode.Color = Color;
flowNode.StatusColor = StatusColor;
flowNode.Kind = Kind;
return flowNode;