diff --git a/web/src/pages/Doc/catalogList.js b/web/src/pages/Doc/catalogList.js
index 3be383c5..2e802f4d 100644
--- a/web/src/pages/Doc/catalogList.js
+++ b/web/src/pages/Doc/catalogList.js
@@ -18,6 +18,7 @@ let APIList = [
'constructor',
'node',
'render',
+ 'textEdit',
'view',
'keyCommand',
'command',
diff --git a/web/src/pages/Doc/en/render/index.md b/web/src/pages/Doc/en/render/index.md
index 9557d74d..7685b5a2 100644
--- a/web/src/pages/Doc/en/render/index.md
+++ b/web/src/pages/Doc/en/render/index.md
@@ -11,7 +11,13 @@ Gets the current list of active nodes.
### root
-Gets the root node of the node tree.
+Node tree, also known as the mind map node instance tree.
+
+### renderTree
+
+The rendering tree, also known as the data tree of the mind map.
+
+### layout
## Methods
@@ -114,10 +120,6 @@ Search for the index of a node in the active list.
Get the position index of a node among its siblings.
-### removeOneNode(node)
-
-Delete a specific node.
-
### copyNode()
Copy a node, the active node is the node to be operated on, if there are
@@ -191,4 +193,16 @@ Cut a node. After calling this method, the currently active node will be cut and
> v0.6.8+
-Pasting nodes can be done by calling the 'copy()' or 'cut()' method after calling it. This method does not support pasting data from the user's clipboard. Please use the built-in 'Ctrl+v' shortcut key.
\ No newline at end of file
+Pasting nodes can be done by calling the 'copy()' or 'cut()' method after calling it. This method does not support pasting data from the user's clipboard. Please use the built-in 'Ctrl+v' shortcut key.
+
+### clearCache()
+
+Empty the node cache pool.
+
+### emitNodeActiveEvent(node = null, activeNodeList = [...this.activeNodeList])
+
+- `node`:The node activated this time
+
+- `activeNodeList`:All currently activated nodes
+
+Dispatch node activation event, which triggers `node_active` event.
\ No newline at end of file
diff --git a/web/src/pages/Doc/en/render/index.vue b/web/src/pages/Doc/en/render/index.vue
index 2eedcb2c..22fd750e 100644
--- a/web/src/pages/Doc/en/render/index.vue
+++ b/web/src/pages/Doc/en/render/index.vue
@@ -7,7 +7,10 @@ accessed through mindMap.renderer.
Gets the current list of active nodes.
Gets the root node of the node tree.
+Node tree, also known as the mind map node instance tree.
+The rendering tree, also known as the data tree of the mind map.
+@@ -93,8 +96,6 @@ disable the enter key and delete key related shortcuts to prevent conflicts.Search for the index of a node in the active list.
getNodeIndex(node)
Get the position index of a node among its siblings.
-removeOneNode(node)
-Delete a specific node.
copyNode()
Copy a node, the active node is the node to be operated on, if there are multiple active nodes, only the first node will be operated on.
@@ -162,6 +163,18 @@ is an object, e.g.{text: 'I am new text'}.v0.6.8+
Pasting nodes can be done by calling the 'copy()' or 'cut()' method after calling it. This method does not support pasting data from the user's clipboard. Please use the built-in 'Ctrl+v' shortcut key.
+Empty the node cache pool.
+node:The node activated this time
activeNodeList:All currently activated nodes
Dispatch node activation event, which triggers node_active event.
Node text editing instance. It can be obtained through mindMap.renderer.textEdit.
Get whether the current text editing box is in a display state, that is, whether it is in a text editing state.
+Hiding the text editing box will set the content of the current text editing box as node text.
+Register temporary shortcut keys, which means editing can be completed through the Enter and Tab keys.
+node:Node instance to enter for editingManually enable node editing. By default, it will enter node editing when double clicking or pressing F2 on the node.
+ +render实例负载整个渲染过程,可通过mindMap.renderer获取到。
获取当前激活的节点列表。
获取节点树的根节点。
+节点树,也就是思维导图节点实例树。
+渲染树,也就是思维导图的数据树。
+当前的布局实例。
@@ -91,8 +95,6 @@检索某个节点在激活列表里的索引。
getNodeIndex(node)
获取节点在同级里的位置索引。
-removeOneNode(node)
-删除某个指定节点。
copyNode()
复制节点,操作节点为当前激活节点,有多个激活节点只会操作第一个节点。
setNodeDataRender(node, data, notRender)
@@ -127,21 +129,21 @@
uid:节点uid
uid:节点 uid
callback:展开完成的回调函数
展开到指定uid的节点。
+展开到指定 uid 的节点。
v0.6.7+
uid:节点uiduid:节点 uid根据uid找到对应的节点实例。
+根据 uid 找到对应的节点实例。
v0.6.8+
@@ -157,6 +159,18 @@v0.6.8+
粘贴节点,在调用了copy()或cut()方法后可以调用该方法进行粘贴节点。该方法不支持粘贴用户剪贴板中的数据,请使用内置的Ctrl+v快捷键。
清空节点缓存池。
+node:本次激活的节点
activeNodeList:当前所有激活的节点
派发节点激活事件,也就是触发node_active事件。
节点文本编辑实例。可以通过mindMap.renderer.textEdit获取到。
获取当前文本编辑框是否处于显示状态,也就是是否处在文本编辑状态。
+隐藏文本编辑框,会将当前文本编辑框中的内容设置为节点文本。
+注册临时快捷键,也就是可以通过 Enter 键和 Tab 键完成编辑。
+node:要进入编辑的节点实例手动开启节点编辑。默认会在节点双击、按 F2 时进入节点编辑。
+ +