添加block快,不需要连接线,直接吸附。

This commit is contained in:
艾竹
2023-05-21 22:06:59 +08:00
parent 2fd8321363
commit fde899cfa9
30 changed files with 680 additions and 338 deletions

View File

@@ -72,7 +72,9 @@ namespace AIStudio.Wpf.DiagramDesigner
protected override void InitNew()
{
base.InitNew();
ExecuteAddInput(null);
ExecuteAddInput(null);
ExecuteAddOutput(null);
}
private void BuildMenuOptions()
@@ -182,7 +184,7 @@ namespace AIStudio.Wpf.DiagramDesigner
public override void ClearConnectors()
{
connectors.Clear();
Connectors.Clear();
Input.Clear();
Output.Clear();
}