mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-05 08:46:34 +08:00
箭头分离到独立的model中,方便自定义path
This commit is contained in:
@@ -16,8 +16,8 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
|
||||
route = GetRouteWithMiddlePoints(_, link, route);
|
||||
|
||||
double sourceAngle = SourceMarkerAdjustement(route, link.ColorViewModel.LeftArrowSize);
|
||||
double targetAngle = TargetMarkerAdjustement(route, link.ColorViewModel.RightArrowSize);
|
||||
double sourceAngle = SourceMarkerAdjustement(route, link.GetSourceMarkerWidth());
|
||||
double targetAngle = TargetMarkerAdjustement(route, link.GetSinkMarkerWidth());
|
||||
|
||||
DoShift(route, link);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user