mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-12 12:16:37 +08:00
分离逻辑与常规连接点
This commit is contained in:
@@ -28,7 +28,6 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
YRatio = viewmodel.YRatio;
|
||||
IsInnerPoint = viewmodel.IsInnerPoint;
|
||||
IsPortless = viewmodel.IsPortless;
|
||||
ValueTypePoint = viewmodel.ValueTypePoint;
|
||||
}
|
||||
|
||||
|
||||
@@ -55,13 +54,5 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
[XmlAttribute]
|
||||
public ValueTypePoint ValueTypePoint
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace AIStudio.Wpf.DiagramDesigner
|
||||
{
|
||||
/// <summary>
|
||||
/// 完整连接点
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
[XmlInclude(typeof(LogicalConnectorInfoItem))]
|
||||
public class LogicalConnectorInfoItem : FullyCreatedConnectorInfoItem
|
||||
{
|
||||
|
||||
public LogicalConnectorInfoItem()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public LogicalConnectorInfoItem(LogicalConnectorInfo viewmodel) : base(viewmodel)
|
||||
{
|
||||
ValueTypePoint = viewmodel.ValueTypePoint;
|
||||
}
|
||||
|
||||
[XmlAttribute]
|
||||
public ValueTypePoint ValueTypePoint
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user