Skip to content

Commit

Permalink
docs: fix document formatting (antvis#3135)
Browse files Browse the repository at this point in the history
docs: fix document formatting
xiaotiandada authored Jan 13, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 5c5f3e5 commit 61c030a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sites/x6-sites/docs/api/registry/router.zh.md
Original file line number Diff line number Diff line change
@@ -221,11 +221,11 @@ graph.addEdge({

支持的参数如下表:

| 参数名 | 参数类型 | 是否必选 | 默认值 | 参数说明 |
| --------- | ------------------ | :------: | ------ | -------------------------------------------------------------------------------------------------- | --- | ---- | --- | --------- | ------------------------------------ |
| offset | number \| 'center' || `32` | 路由的第一个点和最后一个点与节点之间的距离。当取值为 `'center'` 时,节点距离的中心作为路由点坐标。 |
| min | number | | `16` | 路由的第一个点和最后一个点与节点之间的最小距离。 |
| direction | `'T' | 'B' | 'L' | 'R' | 'H' | 'V'` || undefined | 路由方向,缺省时将自动选择最优方向。 |
| 参数名 | 参数类型 | 是否必选 | 默认值 | 参数说明 |
| --------- | ---------------------------------------- | -------- | --------- | ------------------------------------------------------------ |
| offset | number \|'center' | | `32` | 路由的第一个点和最后一个点与节点之间的距离。当取值为 `'center'` 时,节点距离的中心作为路由点坐标。 |
| min | number | | `16` | 路由的第一个点和最后一个点与节点之间的最小距离。 |
| direction | `'T'`\|`'B'`\|`'L'`\|`'R'`\|`'H'`\|`'V'` | | undefined | 路由方向,缺省时将自动选择最优方向。 |

例如:

0 comments on commit 61c030a

Please sign in to comment.