2023-01-12 23:02:53 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using AIStudio.Wpf.DiagramDesigner.Geometrys;
|
|
|
|
|
|
|
|
|
|
|
|
namespace AIStudio.Wpf.DiagramDesigner
|
|
|
|
|
|
{
|
2023-01-14 21:52:05 +08:00
|
|
|
|
public class ConnectingLineCorner : IPathGenerator
|
2023-01-12 23:02:53 +08:00
|
|
|
|
{
|
2023-01-24 17:53:04 +08:00
|
|
|
|
public PathGeneratorResult Get(IDiagramViewModel _, ConnectionViewModel link, PointBase[] route, PointBase source, PointBase target)
|
2023-01-12 23:02:53 +08:00
|
|
|
|
{
|
2023-01-14 21:52:05 +08:00
|
|
|
|
return PathGenerators.Corner(_, link, route, source, target);
|
2023-01-12 23:02:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|