Skip to content

Commit

Permalink
fix: 修正文档内容拼写错误
Browse files Browse the repository at this point in the history
  • Loading branch information
liuziqi committed Nov 7, 2024
1 parent a1a61ed commit 990e5ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sites/docs/docs/tutorial/extension/node-resize.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ tag: Deprecated

## Use

LogicFlow provides `RectResize`, `EllipseResize`, `DiamonResize`, `HtmlResize` in the extension package, each node has `view` and `model` attributes. The scaling of nodes is also achieved by using LogicFlow's custom node mechanism, which allows developers to inherit from these 4 types of nodes that can be scaled to achieve node scaling.
LogicFlow provides `RectResize`, `EllipseResize`, `DiamondResize`, `HtmlResize` in the extension package, each node has `view` and `model` attributes. The scaling of nodes is also achieved by using LogicFlow's custom node mechanism, which allows developers to inherit from these 4 types of nodes that can be scaled to achieve node scaling.

For example, if we need a rectangle that can be scaled, when we didn't support node scaling before, we customize the node in the following way:

Expand Down
2 changes: 1 addition & 1 deletion sites/docs/docs/tutorial/extension/node-resize.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ tag: 即将废弃

## 使用

LogicFlow 在 extension 包中提供了`RectResize``EllipseResize``DiamonResize``HtmlResize`这 4
LogicFlow 在 extension 包中提供了`RectResize``EllipseResize``DiamondResize``HtmlResize`这 4
种支持缩放的基础节点, 每个节点都有`view``model`这两个属性。节点的缩放也是利用 LogicFlow
的自定义节点机制,使开发者可以继承这 4 种可以缩放的节点,来实现节点的缩放。

Expand Down

0 comments on commit 990e5ce

Please sign in to comment.