diff --git a/simple-mind-map/package.json b/simple-mind-map/package.json index 0bc466e8..a5a08080 100644 --- a/simple-mind-map/package.json +++ b/simple-mind-map/package.json @@ -1,6 +1,6 @@ { "name": "simple-mind-map", - "version": "0.5.10-fix.2", + "version": "0.5.11", "description": "一个简单的web在线思维导图", "authors": [ { diff --git a/web/src/pages/Doc/en/associativeLine/index.md b/web/src/pages/Doc/en/associativeLine/index.md index 12e7005e..9a726858 100644 --- a/web/src/pages/Doc/en/associativeLine/index.md +++ b/web/src/pages/Doc/en/associativeLine/index.md @@ -4,9 +4,9 @@ > The function of adjusting associated line control points is supported from v0.4.6+ -This plugin is used to support the addition of associative lines. +> Relevance support for text editing starting from v0.5.11+ -The plugin is currently not fully functional, and does not support adding text to association lines. +This plugin is used to support the addition of associative lines. ## Register diff --git a/web/src/pages/Doc/en/associativeLine/index.vue b/web/src/pages/Doc/en/associativeLine/index.vue index 168ce87a..4981edcc 100644 --- a/web/src/pages/Doc/en/associativeLine/index.vue +++ b/web/src/pages/Doc/en/associativeLine/index.vue @@ -7,8 +7,10 @@
+The function of adjusting associated line control points is supported from v0.4.6+
+Relevance support for text editing starting from v0.5.11+
+
This plugin is used to support the addition of associative lines.
-The plugin is currently not fully functional, and does not support adding text to association lines.
import MindMap from 'simple-mind-map'
import AssociativeLine from 'simple-mind-map/src/AssociativeLine.js'
diff --git a/web/src/pages/Doc/en/changelog/index.md b/web/src/pages/Doc/en/changelog/index.md
index f16b47c9..42236e0b 100644
--- a/web/src/pages/Doc/en/changelog/index.md
+++ b/web/src/pages/Doc/en/changelog/index.md
@@ -1,5 +1,11 @@
# Changelog
+## 0.5.11
+
+New: Supports associative text editing.
+
+optimization: Optimizing theme configuration updates, changing configurations that do not involve node size does not trigger node recalculation.
+
## 0.5.10
New: Optimize node reuse logic using LRU caching algorithm.
diff --git a/web/src/pages/Doc/en/changelog/index.vue b/web/src/pages/Doc/en/changelog/index.vue
index 6218400f..6ae87866 100644
--- a/web/src/pages/Doc/en/changelog/index.vue
+++ b/web/src/pages/Doc/en/changelog/index.vue
@@ -1,6 +1,9 @@
Changelog
+0.5.11
+New: Supports associative text editing.
+optimization: Optimizing theme configuration updates, changing configurations that do not involve node size does not trigger node recalculation.
0.5.10
New: Optimize node reuse logic using LRU caching algorithm.
0.5.10-fix.1
diff --git a/web/src/pages/Doc/zh/associativeLine/index.md b/web/src/pages/Doc/zh/associativeLine/index.md
index 1c3e937c..72f692d3 100644
--- a/web/src/pages/Doc/zh/associativeLine/index.md
+++ b/web/src/pages/Doc/zh/associativeLine/index.md
@@ -4,9 +4,9 @@
> 调整关联线控制点的功能从v0.4.6+开始支持
-该插件用于支持添加关联线。
+> 关联性支持文本编辑从v0.5.11+开始支持
-该插件目前功能还不完善,不支持在关联线上添加文字。
+该插件用于支持添加关联线。
## 注册
diff --git a/web/src/pages/Doc/zh/associativeLine/index.vue b/web/src/pages/Doc/zh/associativeLine/index.vue
index 2633650b..4e5cda2b 100644
--- a/web/src/pages/Doc/zh/associativeLine/index.vue
+++ b/web/src/pages/Doc/zh/associativeLine/index.vue
@@ -7,8 +7,10 @@
调整关联线控制点的功能从v0.4.6+开始支持
+
+关联性支持文本编辑从v0.5.11+开始支持
+
该插件用于支持添加关联线。
-该插件目前功能还不完善,不支持在关联线上添加文字。
注册
import MindMap from 'simple-mind-map'
import AssociativeLine from 'simple-mind-map/src/AssociativeLine.js'
diff --git a/web/src/pages/Doc/zh/changelog/index.md b/web/src/pages/Doc/zh/changelog/index.md
index 00178f08..3fc6fc2d 100644
--- a/web/src/pages/Doc/zh/changelog/index.md
+++ b/web/src/pages/Doc/zh/changelog/index.md
@@ -1,5 +1,11 @@
# Changelog
+## 0.5.11
+
+新增:支持关联性文本编辑。
+
+优化:优化主题配置更新,改变不涉及节点大小的配置不触发节点重新计算。
+
## 0.5.10
新增:使用LRU缓存算法优化节点复用逻辑。
diff --git a/web/src/pages/Doc/zh/changelog/index.vue b/web/src/pages/Doc/zh/changelog/index.vue
index aa84cf06..e4e59f09 100644
--- a/web/src/pages/Doc/zh/changelog/index.vue
+++ b/web/src/pages/Doc/zh/changelog/index.vue
@@ -1,6 +1,9 @@
Changelog
+0.5.11
+新增:支持关联性文本编辑。
+优化:优化主题配置更新,改变不涉及节点大小的配置不触发节点重新计算。
0.5.10
新增:使用LRU缓存算法优化节点复用逻辑。
0.5.10-fix.1
diff --git a/web/src/pages/Doc/zh/course1/index.md b/web/src/pages/Doc/zh/course1/index.md
index 1a9123a0..5595cdfe 100644
--- a/web/src/pages/Doc/zh/course1/index.md
+++ b/web/src/pages/Doc/zh/course1/index.md
@@ -55,7 +55,7 @@
}
```
-`icon`目前只能使用内置的图标,完整图标可以在[icons.js](https://github.com/wanglin2/mind-map/blob/main/simple-mind-map/src/svg/icons.js)文件中查看。
+`icon`可以使用内置的图标,完整图标可以在[icons.js](https://github.com/wanglin2/mind-map/blob/main/simple-mind-map/src/svg/icons.js)文件中查看。也可以扩展图标,参考[扩展图标](https://wanglin2.github.io/mind-map/#/doc/zh/course19/%E6%89%A9%E5%B1%95%E5%9B%BE%E6%A0%87)。
创建实例时还支持传递其他很多选项参数,完整选项列表可以在[实例化选项](https://wanglin2.github.io/mind-map/#/doc/zh/constructor/%E5%AE%9E%E4%BE%8B%E5%8C%96%E9%80%89%E9%A1%B9)查看。
diff --git a/web/src/pages/Doc/zh/course1/index.vue b/web/src/pages/Doc/zh/course1/index.vue
index 20acb226..a2c288cf 100644
--- a/web/src/pages/Doc/zh/course1/index.vue
+++ b/web/src/pages/Doc/zh/course1/index.vue
@@ -46,7 +46,7 @@
children: []// 子节点
}
-icon目前只能使用内置的图标,完整图标可以在icons.js文件中查看。
+icon可以使用内置的图标,完整图标可以在icons.js文件中查看。也可以扩展图标,参考扩展图标。
创建实例时还支持传递其他很多选项参数,完整选项列表可以在实例化选项查看。
这样得到的思维导图可以通过鼠标和快捷键进行操作,比如单击某个节点可以激活它,双击某个节点可以编辑节点文本,按下Tab键会给当前激活的节点添加一个子节点,按下Enter键会给当前激活的节点添加一个兄弟节点等等,完整的快捷键列表可以参考快捷键列表。
当然有些功能还是需要UI界面的,比如图标列表、编辑超链接等等,需要注意的是simple-mind-map库并不包含UI界面,所以需要你自己开发,然后通过simple-mind-map提供的相关API来操作,本教程的其他章节会向你介绍如何使用。