mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-03 00:00:57 +08:00
25 lines
624 B
C#
25 lines
624 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Windows.Media;
|
|
using AIStudio.Wpf.DiagramDesigner;
|
|
using AIStudio.Wpf.DiagramDesigner.Helpers;
|
|
|
|
namespace AIStudio.Wpf.Flowchart.Models
|
|
{
|
|
public class FlowchartToolBoxData : ToolBoxData
|
|
{
|
|
public NodeKinds Kind
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public FlowchartToolBoxData(NodeKinds kind, Type type, double width = 32, double height = 32) : base(kind.GetDescription(), null, type, width, height)
|
|
{
|
|
Kind = kind;
|
|
ColorViewModel.LineColor.Color = Colors.Black;
|
|
}
|
|
|
|
}
|
|
}
|