彩色连接点完成

This commit is contained in:
艾竹
2023-02-01 23:05:56 +08:00
parent 50eab5e091
commit 527dbd98e4
16 changed files with 476 additions and 138 deletions

View File

@@ -37,6 +37,8 @@ namespace AIStudio.Wpf.SFC.ViewModels
protected override void Init(IDiagramViewModel root)
{
base.Init(root);
CustomText = true;
if (diChangedSubscription != null)
{
diChangedSubscription.Dispose();
@@ -45,19 +47,6 @@ namespace AIStudio.Wpf.SFC.ViewModels
diChangedSubscription = WhenPropertyChanged.Where(o => o.ToString() == "Value").Throttle(TimeSpan.FromSeconds(random.Next(1,10))).Subscribe(OnValueChanged);//Sample
}
private bool _showText;
public override bool ShowText
{
get
{
return false;
}
set
{
SetProperty(ref _showText, value);
}
}
/// <summary>
/// 输入
/// </summary>