mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-17 06:36:36 +08:00
临时提交
This commit is contained in:
23
AIStudio.Wpf.Mind/MindType.cs
Normal file
23
AIStudio.Wpf.Mind/MindType.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace AIStudio.Wpf.Mind
|
||||
{
|
||||
public enum MindType
|
||||
{
|
||||
[Description("思维导图")]
|
||||
Mind,
|
||||
[Description("目录组织图")]
|
||||
Directory,
|
||||
[Description("鱼骨头图")]
|
||||
FishBone,
|
||||
[Description("逻辑结构图")]
|
||||
Logical,
|
||||
[Description("组织结构图")]
|
||||
Organizational,
|
||||
[Description("天盘图")]
|
||||
Celestial
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,10 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using AIStudio.Wpf.DiagramDesigner;
|
||||
using AIStudio.Wpf.DiagramDesigner.Geometrys;
|
||||
using AIStudio.Wpf.DiagramDesigner.Models;
|
||||
|
||||
namespace AIStudio.Wpf.Mind.ViewModels
|
||||
@@ -55,6 +57,10 @@ namespace AIStudio.Wpf.Mind.ViewModels
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public class MindLevel1Node : MindNode
|
||||
@@ -78,6 +84,24 @@ namespace AIStudio.Wpf.Mind.ViewModels
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void LayoutUpdated()
|
||||
{
|
||||
foreach(var child in Children)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public RectangleBase Rectangle
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
public RectangleBase GetChildRectangle()
|
||||
{
|
||||
//Children.Select(p => p.Size)
|
||||
}
|
||||
}
|
||||
|
||||
public class MindLevel2Node : MindNode
|
||||
@@ -101,6 +125,11 @@ namespace AIStudio.Wpf.Mind.ViewModels
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public PointBase Offset
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
}
|
||||
|
||||
public class MindLevel3Node : MindNode
|
||||
@@ -124,5 +153,10 @@ namespace AIStudio.Wpf.Mind.ViewModels
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public PointBase Offset
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user