可以把连线从节点上拖下来,并且依附上去。

This commit is contained in:
艾竹
2023-05-03 13:28:16 +08:00
parent 1536e5018d
commit ed22b9daa3
13 changed files with 352 additions and 79 deletions

View File

@@ -143,7 +143,10 @@ namespace AIStudio.Wpf.DiagramDesigner
{
ConnectorHeight = ScreenHelper.MmToWidth(value);
}
}
}
public virtual bool CanAttachTo(ConnectorInfoBase port)
=> port != this && !port.IsReadOnly;
#endregion
}
}