mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-11 03:36:38 +08:00
部分连接线拖拽完成
This commit is contained in:
@@ -51,7 +51,7 @@ namespace AIStudio.Wpf.SFC
|
||||
{
|
||||
if (edge.IsFullConnection == false) continue;
|
||||
|
||||
var source = nodes.FirstOrDefault(p => p == edge.SourceConnectorInfo.DataItem);
|
||||
var source = nodes.FirstOrDefault(p => p == edge.SourceConnectorInfoFully.DataItem);
|
||||
if (source != null)
|
||||
{
|
||||
source.NextNode.Add(edge.SinkConnectorInfoFully.DataItem as SFCNode);
|
||||
|
||||
Reference in New Issue
Block a user