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