使用物理尺寸进行设置

This commit is contained in:
艾竹
2023-02-11 23:51:48 +08:00
parent 59bfed341d
commit f99fd93b3f
13 changed files with 333 additions and 231 deletions

View File

@@ -4,6 +4,7 @@ using System.IO;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
using Newtonsoft.Json;
namespace AIStudio.Wpf.DiagramDesigner
{
@@ -27,14 +28,15 @@ namespace AIStudio.Wpf.DiagramDesigner
Orientation = viewmodel.Orientation;
}
[XmlAttribute]
[JsonProperty(PropertyName = "ConnectorWidth")]
[XmlAttribute("ConnectorWidth")]
public double PhysicalConnectorWidth
{
get; set;
}
[XmlAttribute]
[JsonProperty(PropertyName = "ConnectorHeight")]
[XmlAttribute("ConnectorHeight")]
public double PhysicalConnectorHeight
{
get; set;