mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-03 00:00:57 +08:00
删除几个非mit的引用
This commit is contained in:
@@ -10,10 +10,8 @@ using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using AIStudio.Wpf.DiagramDesigner.Geometrys;
|
||||
using AIStudio.Wpf.DiagramDesigner.Helpers;
|
||||
using AIStudio.Wpf.DiagramDesigner.Layout;
|
||||
using AIStudio.Wpf.DiagramDesigner.Models;
|
||||
using Newtonsoft.Json;
|
||||
using static System.Net.Mime.MediaTypeNames;
|
||||
|
||||
namespace AIStudio.Wpf.DiagramDesigner
|
||||
{
|
||||
@@ -680,17 +678,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
{
|
||||
return this._fitHeightCommand ?? (this._fitHeightCommand = new SimpleCommand(ExecuteEnable, ExecuteFitHeightCommand));
|
||||
}
|
||||
}
|
||||
|
||||
private ICommand _autoLayoutCommand;
|
||||
public ICommand AutoLayoutCommand
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._autoLayoutCommand ?? (this._autoLayoutCommand = new SimpleCommand(ExecuteEnable, ExecuteAutoLayoutCommand));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private ICommand _groupCommand;
|
||||
public ICommand GroupCommand
|
||||
@@ -2462,12 +2450,6 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
FitViewModel = new FitViewModel() { BoundingRect = DiagramViewModelHelper.GetBoundingRectangle(Items.OfType<DesignerItemViewModelBase>()), FitMode = FitMode.FitHeight };
|
||||
}
|
||||
}
|
||||
|
||||
private void ExecuteAutoLayoutCommand(object parameter)
|
||||
{
|
||||
ForceDirectedLayouter layouter = new ForceDirectedLayouter();
|
||||
layouter.Layout(new Configuration { Network = this }, 10000);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 分组
|
||||
|
||||
Reference in New Issue
Block a user