mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-09 10:46:37 +08:00
可以把连线从节点上拖下来,并且依附上去。
This commit is contained in:
@@ -17,6 +17,11 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
{
|
||||
get; set;
|
||||
} = new ShortcutOption();
|
||||
|
||||
public SnappingOption SnappingOption
|
||||
{
|
||||
get; set;
|
||||
} = new SnappingOption();
|
||||
}
|
||||
|
||||
public class LayoutOption
|
||||
@@ -24,6 +29,22 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
|
||||
}
|
||||
|
||||
public class SnappingOption
|
||||
{
|
||||
public bool EnableSnapping
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
public double SnappingRadius
|
||||
{
|
||||
get; set;
|
||||
} = 50;
|
||||
public double HittingRadius
|
||||
{
|
||||
get; set;
|
||||
} = 20;
|
||||
}
|
||||
|
||||
public class ShortcutOption
|
||||
{
|
||||
[Description("Select All shortcut (CTRL+A by default)")]
|
||||
|
||||
Reference in New Issue
Block a user