Doc: update

This commit is contained in:
街角小林
2024-04-08 09:40:06 +08:00
parent c769d4d203
commit d641b7e2ef
6 changed files with 26 additions and 1593 deletions

View File

@@ -142,9 +142,11 @@ The basic data structure is as follows:
hyperlinkTitle: '', // Title of hyperlink
note: '', // Content of remarks
tag: [], // Tag list
generalization: {// The summary of the node, if there is no summary, the generalization can be set to null
text: ''// Summary Text
},
generalization: [{// (Arrays are not supported in versions below 0.9.0, and only a single summary data can be set)The summary of the node, if there is no summary, the generalization can be set to null
text: '', // Summary Text
richText: false, // Is the text of the node in rich text mode
// ...The fields of other ordinary nodes are supported, But it does not support children
}],
associativeLineTargets: [''],// If there are associated lines, then it is the uid list of the target node
associativeLineText: '',// Association Line Text
// ...For other style fields, please refer to the topic

File diff suppressed because it is too large Load Diff

View File

@@ -144,9 +144,11 @@ const mindMap = new MindMap({
attachmentUrl: '',// v0.9.10+附件url
attachmentName: '',// v0.9.10+,附件名称
tag: [], // 标签列表
generalization: {// 节点的概要如果没有概要generalization设为null即可
text: ''// 概要的文本
},
generalization: [{// 0.9.0以下版本不支持数组,只能设置单个概要数据)节点的概要如果没有概要generalization设为null即可
text: '', // 概要的文本
richText: false, // 节点的文本是否是富文本模式
// ...其他普通节点的字段都支持但是不支持children
}],
associativeLineTargets: [''],// 如果存在关联线那么为目标节点的uid列表
associativeLineText: '',// 关联线文本
// ...其他样式字段,可以参考主题

View File

@@ -609,9 +609,11 @@
<span class="hljs-attr">attachmentUrl</span>: <span class="hljs-string">&#x27;&#x27;</span>,<span class="hljs-comment">// v0.9.10+附件url</span>
<span class="hljs-attr">attachmentName</span>: <span class="hljs-string">&#x27;&#x27;</span>,<span class="hljs-comment">// v0.9.10+,附件名称</span>
<span class="hljs-attr">tag</span>: [], <span class="hljs-comment">// 标签列表</span>
<span class="hljs-attr">generalization</span>: {<span class="hljs-comment">// 节点的概要如果没有概要generalization设为null即可</span>
<span class="hljs-attr">text</span>: <span class="hljs-string">&#x27;&#x27;</span><span class="hljs-comment">// 概要的文本</span>
},
<span class="hljs-attr">generalization</span>: [{<span class="hljs-comment">// 0.9.0以下版本不支持数组,只能设置单个概要数据)节点的概要如果没有概要generalization设为null即可</span>
<span class="hljs-attr">text</span>: <span class="hljs-string">&#x27;&#x27;</span>, <span class="hljs-comment">// 概要的文本</span>
<span class="hljs-attr">richText</span>: <span class="hljs-literal">false</span>, <span class="hljs-comment">// 节点的文本是否是富文本模式</span>
<span class="hljs-comment">// ...其他普通节点的字段都支持但是不支持children</span>
}],
<span class="hljs-attr">associativeLineTargets</span>: [<span class="hljs-string">&#x27;&#x27;</span>],<span class="hljs-comment">// 如果存在关联线那么为目标节点的uid列表</span>
<span class="hljs-attr">associativeLineText</span>: <span class="hljs-string">&#x27;&#x27;</span>,<span class="hljs-comment">// 关联线文本</span>
<span class="hljs-comment">// ...其他样式字段,可以参考主题</span>

View File

@@ -44,9 +44,11 @@
attachmentUrl: '',// v0.9.10+附件url
attachmentName: '',// v0.9.10+,附件名称
tag: [], // 标签列表
generalization: {// 节点的概要如果没有概要generalization设为null即可
text: ''// 概要的文本
},
generalization: [{// 0.9.0以下版本不支持数组,只能设置单个概要数据)节点的概要如果没有概要generalization设为null即可
text: '', // 概要的文本
richText: false, // 节点的文本是否是富文本模式
// ...其他普通节点的字段都支持但是不支持children
}],
associativeLineTargets: [''],// 如果存在关联线那么为目标节点的uid列表
associativeLineText: '',// 关联线文本
// ...其他样式字段,可以参考主题

View File

@@ -36,9 +36,11 @@
<span class="hljs-attr">attachmentUrl</span>: <span class="hljs-string">&#x27;&#x27;</span>,<span class="hljs-comment">// v0.9.10+附件url</span>
<span class="hljs-attr">attachmentName</span>: <span class="hljs-string">&#x27;&#x27;</span>,<span class="hljs-comment">// v0.9.10+,附件名称</span>
<span class="hljs-attr">tag</span>: [], <span class="hljs-comment">// 标签列表</span>
<span class="hljs-attr">generalization</span>: {<span class="hljs-comment">// 节点的概要如果没有概要generalization设为null即可</span>
<span class="hljs-attr">text</span>: <span class="hljs-string">&#x27;&#x27;</span><span class="hljs-comment">// 概要的文本</span>
},
<span class="hljs-attr">generalization</span>: [{<span class="hljs-comment">// 0.9.0以下版本不支持数组,只能设置单个概要数据)节点的概要如果没有概要generalization设为null即可</span>
<span class="hljs-attr">text</span>: <span class="hljs-string">&#x27;&#x27;</span>, <span class="hljs-comment">// 概要的文本</span>
<span class="hljs-attr">richText</span>: <span class="hljs-literal">false</span>, <span class="hljs-comment">// 节点的文本是否是富文本模式</span>
<span class="hljs-comment">// ...其他普通节点的字段都支持但是不支持children</span>
}],
<span class="hljs-attr">associativeLineTargets</span>: [<span class="hljs-string">&#x27;&#x27;</span>],<span class="hljs-comment">// 如果存在关联线那么为目标节点的uid列表</span>
<span class="hljs-attr">associativeLineText</span>: <span class="hljs-string">&#x27;&#x27;</span>,<span class="hljs-comment">// 关联线文本</span>
<span class="hljs-comment">// ...其他样式字段,可以参考主题</span>