mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-17 15:06:36 +08:00
描述修改
This commit is contained in:
@@ -9,8 +9,8 @@ namespace AIStudio.Wpf.DiagramDesigner.Demo.ViewModels
|
||||
{
|
||||
public CustomPortViewModel()
|
||||
{
|
||||
Title = "Simple";
|
||||
Info = "A simple example of AIStudio.Wpf.DiagramDesigner.";
|
||||
Title = "Custom port";
|
||||
Info = "Creating your own custom port is very easy!";
|
||||
|
||||
DiagramViewModel = new DiagramViewModel();
|
||||
DiagramViewModel.PageSizeType = PageSizeType.Custom;
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace AIStudio.Wpf.DiagramDesigner.Demo.ViewModels.Groups
|
||||
public CustomDefinedGroupViewModel()
|
||||
{
|
||||
Title = "Grouping";
|
||||
Info = "You can (un)group nodes using CTRL+ALT+G.<br>" +
|
||||
Info = "You can (un)group nodes using CTRL+G.<br>" +
|
||||
"Currently, the library doesn't handle nested groups yet nor ports.";
|
||||
|
||||
DiagramViewModel = new DiagramViewModel();
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace AIStudio.Wpf.DiagramDesigner.Demo.ViewModels
|
||||
public GroupViewModel()
|
||||
{
|
||||
Title = "Grouping";
|
||||
Info = "You can (un)group nodes using CTRL+ALT+G.<br>" +
|
||||
Info = "You can (un)group nodes using CTRL+G.<br>" +
|
||||
"Currently, the library doesn't handle nested groups yet nor ports.";
|
||||
|
||||
DiagramViewModel = new DiagramViewModel();
|
||||
|
||||
@@ -10,8 +10,8 @@ namespace AIStudio.Wpf.DiagramDesigner.Demo.ViewModels
|
||||
{
|
||||
public SvgViewModel()
|
||||
{
|
||||
Title = "Custom node";
|
||||
Info = "Creating your own custom design is very easy!";
|
||||
Title = "SVG Nodes";
|
||||
Info = "You can also have SVG nodes! All you need to do is to set the Layer to RenderLayer.SVG.";
|
||||
|
||||
DiagramViewModel = new DiagramViewModel();
|
||||
DiagramViewModel.CellHorizontalAlignment = CellHorizontalAlignment.Center;
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace AIStudio.Wpf.DiagramDesigner.Demo.ViewModels
|
||||
{
|
||||
public ColoredPortViewModel()
|
||||
{
|
||||
Title = "Custom port";
|
||||
Title = "Colored port";
|
||||
Info = "Creating your own custom ports is very easy!" +
|
||||
"In this example, you can only attach links from/to ports with the same color.";
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace AIStudio.Wpf.DiagramDesigner.Demo.ViewModels.Texts
|
||||
{
|
||||
public FontSizeViewModel()
|
||||
{
|
||||
Title = "Text Alignment";
|
||||
Title = "FontSize";
|
||||
Info = "A text node of AIStudio.Wpf.DiagramDesigner.";
|
||||
|
||||
DiagramViewModel = new DiagramViewModel();
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace AIStudio.Wpf.DiagramDesigner.Demo.ViewModels.Texts
|
||||
{
|
||||
public OutlineTextViewModel()
|
||||
{
|
||||
Title = "Text";
|
||||
Title = "OutlineText";
|
||||
Info = "A text node of AIStudio.Wpf.DiagramDesigner.";
|
||||
|
||||
DiagramViewModel = new DiagramViewModel();
|
||||
|
||||
Reference in New Issue
Block a user