mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-03 00:00:57 +08:00
21 lines
437 B
C#
21 lines
437 B
C#
|
|
using AIStudio.Wpf.DiagramDesigner.Geometry;
|
|||
|
|
|
|||
|
|
namespace AIStudio.Wpf.DiagramDesigner
|
|||
|
|
{
|
|||
|
|
public class LinkVertexModel : ConnectorPoint
|
|||
|
|
{
|
|||
|
|
public LinkVertexModel(ConnectorViewModel parent, PointBase? position = null)
|
|||
|
|
{
|
|||
|
|
Parent = parent;
|
|||
|
|
X = position?.X ?? 0;
|
|||
|
|
Y = position?.Y ?? 0;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public ConnectorViewModel Parent
|
|||
|
|
{
|
|||
|
|
get;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|