准备添加中间端点

This commit is contained in:
艾竹
2023-01-15 11:59:51 +08:00
parent 717cc43827
commit 7d77864311
19 changed files with 1440 additions and 117 deletions

View File

@@ -4,8 +4,8 @@ namespace AIStudio.Wpf.DiagramDesigner
{
public class PathGeneratorResult
{
public PathGeneratorResult(string[] paths, double? sourceMarkerAngle = null, PointBase? sourceMarkerPosition = null,
double? targetMarkerAngle = null, PointBase? targetMarkerPosition = null)
public PathGeneratorResult(string[] paths, double sourceMarkerAngle, PointBase sourceMarkerPosition,
double targetMarkerAngle, PointBase targetMarkerPosition)
{
Paths = paths;
SourceMarkerAngle = sourceMarkerAngle;
@@ -15,9 +15,9 @@ namespace AIStudio.Wpf.DiagramDesigner
}
public string[] Paths { get; }
public double? SourceMarkerAngle { get; }
public PointBase? SourceMarkerPosition { get; }
public double? TargetMarkerAngle { get; }
public PointBase? TargetMarkerPosition { get; }
public double SourceMarkerAngle { get; }
public PointBase SourceMarkerPosition { get; }
public double TargetMarkerAngle { get; }
public PointBase TargetMarkerPosition { get; }
}
}