mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-03 00:00:57 +08:00
block
This commit is contained in:
@@ -53,29 +53,6 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
}
|
||||
}
|
||||
|
||||
public override PointBase Position
|
||||
{
|
||||
get
|
||||
{
|
||||
if (DataItem?.ParentContainer == null)
|
||||
{
|
||||
return PointHelper.GetPointForConnector(this);
|
||||
}
|
||||
else
|
||||
{
|
||||
return PointHelper.GetPointForConnector(this);//Todo
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override PointBase MiddlePosition
|
||||
{
|
||||
get
|
||||
{
|
||||
return PointHelper.GetPointForConnector(this, true);
|
||||
}
|
||||
}
|
||||
|
||||
public override bool CanAttachTo(ConnectorInfoBase port)
|
||||
{
|
||||
if (port is BlockConnectorInfo blockConnectorInfo)
|
||||
|
||||
Reference in New Issue
Block a user