mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-09 10:46:37 +08:00
添加block快,不需要连接线,直接吸附。
This commit is contained in:
@@ -36,14 +36,6 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
{
|
||||
get;
|
||||
}
|
||||
ICommand AddItemCommand
|
||||
{
|
||||
get;
|
||||
}
|
||||
ICommand RemoveItemCommand
|
||||
{
|
||||
get;
|
||||
}
|
||||
ICommand ClearSelectedItemsCommand
|
||||
{
|
||||
get;
|
||||
@@ -113,6 +105,14 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
{
|
||||
get;
|
||||
}
|
||||
ICommand AddCommand
|
||||
{
|
||||
get;
|
||||
}
|
||||
ICommand DeleteCommand
|
||||
{
|
||||
get;
|
||||
}
|
||||
ICommand CopyCommand
|
||||
{
|
||||
get;
|
||||
@@ -125,10 +125,6 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
{
|
||||
get;
|
||||
}
|
||||
ICommand DeleteCommand
|
||||
{
|
||||
get;
|
||||
}
|
||||
ICommand LeftMoveCommand
|
||||
{
|
||||
get;
|
||||
@@ -340,7 +336,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
|
||||
void Add(object parameter, bool? isSelected = false);
|
||||
|
||||
void Remove(object parameter);
|
||||
void Delete(object parameter);
|
||||
|
||||
void ClearSelectedItems();
|
||||
|
||||
@@ -366,6 +362,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
#region 公共方法
|
||||
FullyCreatedConnectorInfo FindNearPortToAttachTo(ConnectionViewModel partialConnection, ConnectorVertexType connectorVertexType);
|
||||
FullyCreatedConnectorInfo FindNearPortToAttachTo(ConnectionViewModel partialConnection);
|
||||
Tuple<FullyCreatedConnectorInfo, FullyCreatedConnectorInfo> FindNearPortToAttachTo(BlockDesignerItemViewModel blockDesignerItemViewModel, bool isExist);
|
||||
void ClearNearPort();
|
||||
#endregion
|
||||
event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
Reference in New Issue
Block a user