mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-20 00:16:36 +08:00
支持添加中间节点
This commit is contained in:
@@ -32,7 +32,12 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
double targetAngle = TargetMarkerAdjustement(route, link.ColorViewModel.RightArrowSize);
|
||||
|
||||
BezierSpline.GetCurveControlPoints(route, out var firstControlPoints, out var secondControlPoints);
|
||||
var paths = new string[firstControlPoints.Length];
|
||||
|
||||
DoShift(route, link);
|
||||
DoShift(firstControlPoints, link);
|
||||
DoShift(secondControlPoints, link);
|
||||
|
||||
var paths = new string[firstControlPoints.Length];
|
||||
|
||||
for (var i = 0; i < firstControlPoints.Length; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user