From d963187a036d8a47d618fc481deac10370035273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=9B=BD=E5=B8=85?= <2388838628@qq.com> Date: Wed, 11 Dec 2024 21:01:36 +0800 Subject: [PATCH] =?UTF-8?q?fix(docs):=20=E4=BF=AE=E5=A4=8D=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E4=B8=AD=E2=80=9C=E5=9F=BA=E7=A1=80=E6=95=99=E7=A8=8B?= =?UTF-8?q?=E2=80=9D=E5=92=8C=E2=80=9C=E5=AE=9E=E4=BE=8B=E2=80=9D=E9=83=A8?= =?UTF-8?q?=E5=88=86=E7=9A=84=20`nodeModel`=20=E5=92=8C=20`edgeModel`=20?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E5=9C=B0=E5=9D=80=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sites/docs/docs/tutorial/basic/class.en.md | 4 ++-- sites/docs/docs/tutorial/basic/class.zh.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sites/docs/docs/tutorial/basic/class.en.md b/sites/docs/docs/tutorial/basic/class.en.md index f438b0f31..c30e970ee 100644 --- a/sites/docs/docs/tutorial/basic/class.en.md +++ b/sites/docs/docs/tutorial/basic/class.en.md @@ -43,10 +43,10 @@ following data structure to represent the graph data of LogicFlow. **`nodes`**: Contains all nodes. Each node's data attributes are detailed in -the nodeModel. +the nodeModel. **`edges`**: Contains all edges, connecting two nodes through `sourceNodeId` and `targetNodeId`. -Each edge's data attributes are detailed in the +Each edge's data attributes are detailed in the EdgeModel. **`type`**: Indicates the type of node or edge, which can be a basic type built into LogicFlow such diff --git a/sites/docs/docs/tutorial/basic/class.zh.md b/sites/docs/docs/tutorial/basic/class.zh.md index b6108e13b..2c3672f65 100644 --- a/sites/docs/docs/tutorial/basic/class.zh.md +++ b/sites/docs/docs/tutorial/basic/class.zh.md @@ -40,11 +40,11 @@ const lf = new LogicFlow({ -**`nodes`**: 包含所有的节点。每个节点的数据属性详见 +**`nodes`**: 包含所有的节点。每个节点的数据属性详见 nodeModel 。 **`edges`**: 包含所有的边,通过起始 `sourceNodeId` 和 `targetNodeId` -将两个节点相连。每个边的数据属性详见 edgeModel。 +将两个节点相连。每个边的数据属性详见 edgeModel。 **`type`**: 表示节点或者边的类型,这里的类型不仅可以是`rect`,`polyline` 这种LogicFlow内置的基础类型,也可以是用户基于基础类型自定义的类型。