2023-03-05 21:30:53 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using AIStudio.Wpf.DiagramDesigner;
|
2023-03-11 22:27:23 +08:00
|
|
|
|
using AIStudio.Wpf.Mind.Helpers;
|
2023-03-05 21:30:53 +08:00
|
|
|
|
|
|
|
|
|
|
namespace AIStudio.Wpf.Mind.ViewModels
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface IMindDiagramViewModel : IDiagramViewModel
|
|
|
|
|
|
{
|
|
|
|
|
|
MindType MindType
|
|
|
|
|
|
{
|
2023-03-05 23:22:34 +08:00
|
|
|
|
get; set;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2023-03-11 22:27:23 +08:00
|
|
|
|
MindThemeModel MindThemeModel
|
|
|
|
|
|
{
|
|
|
|
|
|
get; set;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2023-03-05 23:22:34 +08:00
|
|
|
|
MindNode RootItem
|
|
|
|
|
|
{
|
|
|
|
|
|
get;
|
2023-03-05 21:30:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
SimpleCommand AddParentCommand
|
|
|
|
|
|
{
|
2023-03-05 23:22:34 +08:00
|
|
|
|
get;
|
2023-03-05 21:30:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
SimpleCommand AddChildCommand
|
|
|
|
|
|
{
|
2023-03-05 23:22:34 +08:00
|
|
|
|
get;
|
2023-03-05 21:30:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2023-03-11 22:27:23 +08:00
|
|
|
|
SimpleCommand AddPearCommand
|
2023-03-05 21:30:53 +08:00
|
|
|
|
{
|
2023-03-05 23:22:34 +08:00
|
|
|
|
get;
|
2023-03-05 21:30:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
SimpleCommand MoveForwardCommand
|
|
|
|
|
|
{
|
|
|
|
|
|
get;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
SimpleCommand MoveBackCommand
|
|
|
|
|
|
{
|
|
|
|
|
|
get;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
SimpleCommand ChangeMindTypeCommand
|
|
|
|
|
|
{
|
|
|
|
|
|
get;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
SimpleCommand ChangeMindThemeCommand
|
|
|
|
|
|
{
|
|
|
|
|
|
get;
|
2023-03-05 23:22:34 +08:00
|
|
|
|
}
|
2023-03-06 11:54:41 +08:00
|
|
|
|
|
2023-03-11 22:27:23 +08:00
|
|
|
|
SimpleCommand SelectBrotherCommand
|
|
|
|
|
|
{
|
|
|
|
|
|
get;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
SimpleCommand SelectPearCommand
|
|
|
|
|
|
{
|
|
|
|
|
|
get;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
SimpleCommand SelectRouteCommand
|
|
|
|
|
|
{
|
|
|
|
|
|
get;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
SimpleCommand SelectChildCommand
|
|
|
|
|
|
{
|
|
|
|
|
|
get;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2023-03-19 12:38:08 +08:00
|
|
|
|
SimpleCommand Expand2LevelCommand
|
2023-03-06 11:54:41 +08:00
|
|
|
|
{
|
|
|
|
|
|
get;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2023-03-05 21:30:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|