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

@@ -90,6 +90,7 @@ namespace AIStudio.Wpf.DiagramModels
{
get; set;
}
/// <summary>
/// Gets or sets the color.
/// </summary>
@@ -100,6 +101,62 @@ namespace AIStudio.Wpf.DiagramModels
{
get; set;
}
/// <summary>
/// Gets or sets the color.
/// </summary>
/// <value>
/// The color.
/// </value>
public string LineColor
{
get; set;
}
/// <summary>
/// Gets or sets the color.
/// </summary>
/// <value>
/// The color.
/// </value>
public string FontColor
{
get; set;
}
/// <summary>
/// Gets or sets the color.
/// </summary>
/// <value>
/// The color.
/// </value>
public double FontSize
{
get; set;
}
/// <summary>
/// Gets or sets the color.
/// </summary>
/// <value>
/// The color.
/// </value>
public string CornerRadius
{
get; set;
}
/// <summary>
/// Gets or sets the color.
/// </summary>
/// <value>
/// The color.
/// </value>
public string BorderThickness
{
get; set;
}
/// <summary>
/// Gets or sets the label.
/// </summary>
@@ -110,6 +167,7 @@ namespace AIStudio.Wpf.DiagramModels
{
get; set;
}
/// <summary>
/// Gets or sets the width.
/// </summary>
@@ -120,6 +178,7 @@ namespace AIStudio.Wpf.DiagramModels
{
get; set;
}
/// <summary>
/// Gets or sets the height.
/// </summary>
@@ -181,6 +240,16 @@ namespace AIStudio.Wpf.DiagramModels
get; set;
}
public bool IsInnerConnector
{
get; set;
}
public List<string> PortRatio
{
get; set;
}
public virtual DiagramItemViewModel ToNodel(IDiagramViewModel diagramViewModel)
{
return new DiagramItemViewModel(diagramViewModel);
@@ -296,6 +365,17 @@ namespace AIStudio.Wpf.DiagramModels
get; set;
}
/// <summary>
/// Gets or sets the index of the z.
/// </summary>
/// <value>
/// The index of the z.
/// </value>
public int ZIndex
{
get; set;
} = -1;
/// <summary>
/// Gets or sets the router.
/// </summary>