mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-03 00:00:57 +08:00
mind基本完成,准备写文档
This commit is contained in:
@@ -419,8 +419,9 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
}
|
||||
|
||||
public double SmoothMargin { get; set; } = 125;
|
||||
|
||||
public double SmoothAutoSlope { get; set; } = 1;
|
||||
public double OrthogonalShapeMargin { get; set; } = 10;
|
||||
public double OrthogonalGlobalBoundsMargin { get; set; } = 50;
|
||||
|
||||
public bool IsPortless => SourceConnectorInfo.IsPortless || SinkConnectorInfoFully?.IsPortless == true;
|
||||
#endregion
|
||||
@@ -712,6 +713,17 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
SinkConnectorInfo = port;
|
||||
}
|
||||
|
||||
public void UpdateConnectionMode(FullyCreatedConnectorInfo source, FullyCreatedConnectorInfo sink, string pathmode, string routermode)
|
||||
{
|
||||
//先置空,避免更新
|
||||
SourceConnectorInfo = null;
|
||||
SinkConnectorInfo = null;
|
||||
PathMode = pathmode;
|
||||
RouterMode = routermode;
|
||||
SourceConnectorInfo = source;
|
||||
SinkConnectorInfo = sink;
|
||||
}
|
||||
|
||||
public void SetVisible(bool visible)
|
||||
{
|
||||
Visible = visible;
|
||||
|
||||
Reference in New Issue
Block a user