Skip to content

Commit c1c1cf1

Browse files
authored
modified v2.0 md
add some images as comment
1 parent 98acd52 commit c1c1cf1

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

README.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ STNodeEditor 是一个轻量且功能强大的节点编辑器 使用方式非常
44

55
![STNodeEditor](https://debugst.github.io/DotNet_WinForm_NodeEditor/images/page_top.png)
66

7+
项目主页 (Project home): [DebugST.github.io/DotNet_WinForm_NodeEditor](https://DebugST.github.io/DotNet_WinForm_NodeEditor) (简体中文, English)
8+
9+
教程文档: [DebugST.github.io/DotNet_WinForm_NodeEditor/doc_cn.html](https://DebugST.github.io/DotNet_WinForm_NodeEditor/doc_cn.html)
10+
11+
Tutorials and API: [DebugST.github.io/DotNet_WinForm_NodeEditor/doc_en.html](https://DebugST.github.io/DotNet_WinForm_NodeEditor/doc_en.html)
12+
13+
14+
715
# STNodeEditor
816

917
![STNodeEditor](https://debugst.github.io/DotNet_WinForm_NodeEditor/images/stnodeeditor.gif)
@@ -17,9 +25,9 @@ STNodeEditor 是一个轻量且功能强大的节点编辑器 使用方式非常
1725
* 中键拖动移动画布 (若笔记本触摸板支持 可二指拖动)
1826
* CTRL+鼠标滚轮 缩放画布
1927

20-
:节点Body区域进行的操作编辑器不会响应 因为在节点客户区内部的操作将被转换为节点的事件
28+
__:节点Body区域进行的操作编辑器不会响应 因为在节点客户区内部的操作将被转换为节点的事件__
2129

22-
因为作者将一个节点视为一个`Form` 而编辑器容器则为`Desktop` 开发者可以像开发`WinForm`程序一样去开发一个节点
30+
__因为作者将一个节点视为一个`Form` 而编辑器容器则为`Desktop` 开发者可以像开发`WinForm`程序一样去开发一个节点__
2331

2432
# STNodeHub
2533

@@ -29,7 +37,7 @@ STNodeEditor 是一个轻量且功能强大的节点编辑器 使用方式非常
2937

3038
HUB的输入输出默认为`object`类型 当一个连接被连入时候将会自动更换数据类型并增加新行
3139

32-
:仅`STNodeHub`可以修改连接点的数据类型 因为相应字段被`internal`标记 而作为第三方扩展的STNode中是无法修改已添加连接点的数据类型的
40+
__:仅`STNodeHub`可以修改连接点的数据类型 因为相应字段被`internal`标记 而作为第三方扩展的STNode中是无法修改已添加连接点的数据类型的__
3341

3442
## STNodeTreeView
3543

@@ -41,15 +49,17 @@ HUB的输入输出默认为`object`类型 当一个连接被连入时候将会
4149

4250
通过使用`STNodeAttribute`标记继承的`STNode`可直接设置需要在`STNodeTreeView`中显示的路径 以及希望在`STNodePropertyGrid`中显示的信息
4351

44-
:若希望节点能够在`STNodeTreeView`中显示 必须使用`STNodeAttribute`标记`STNode`子类
52+
__:若希望节点能够在`STNodeTreeView`中显示 必须使用`STNodeAttribute`标记`STNode`子类__
4553

4654
# STNodePropertyGrid
4755

4856
![STNodePropertyGrid](https://debugst.github.io/DotNet_WinForm_NodeEditor/images/stnodepropertygrid.gif)
4957

5058
`STNode`中的属性被`STNodePropertyAttribute`标记则会在`STNodePropertyGrid`中显示 默认情况下支持`int,float,double,bool,string,enum`以及上述数据类型的`Array` 若希望显示的属性数据类型不被支持 可以对`DescriptorType`进行扩展重写 详细请参考DEMO
5159

52-
可以看到在`STNodePropertyGrid`的面板中可以显示节点的一些信息 作者认为提供给大家的是一套框架 大家可以基于这套框架打造一套自己的框架 而为框架编写节点的`Coder`应该有权利选择是否留下个人信息
60+
可以看到在`STNodePropertyGrid`的面板中可以显示节点的一些信息 作者认为提供给大家的是一套框架 大家可以基于这套框架打造一套自己的框架
61+
62+
__而为框架编写节点的`Coder`应该有权利选择是否留下个人信息__
5363

5464
# STNodeEditorPannel
5565

@@ -59,13 +69,6 @@ HUB的输入输出默认为`object`类型 当一个连接被连入时候将会
5969

6070
可以通过拖动手柄控制布局
6171

62-
63-
更多细节请参考文档
64-
65-
项目主页: [DebugST.github.io/DotNet_WinForm_NodeEditor](https://DebugST.github.io/DotNet_WinForm_NodeEditor)
66-
67-
开发文档: [DebugST.github.io/DotNet_WinForm_NodeEditor/doc.html](https://DebugST.github.io/DotNet_WinForm_NodeEditor/doc.html)
68-
6972
## 关于作者
7073
* Github: [DebugST](https://github.com/DebugST/)
7174
* Blog: [Crystal_lz](http://st233.com)

0 commit comments

Comments
 (0)