Skip to content

Commit

Permalink
docs: fix the container name in the configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
cnyballk committed Dec 25, 2023
1 parent 1a27a2a commit b6309bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sites/x6-sites/docs/api/graph/graph.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ new Graph(options: Options)

| 选项 | 类型 | 必选 | 描述 | 默认值 |
| --- | --- | :-: | --- | --- |
| containers | `HTMLElement` || 画布的容器。 | |
| container | `HTMLElement` || 画布的容器。 | |
| width | `number` | | 画布宽度,默认使用容器宽度。 | - |
| height | `number` | | 画布高度,默认使用容器高度。 | - |
| scaling | `{ min?: number, max?: number }` | | 画布的最小最大缩放级别。 | `{ min: 0.01, max: 16 }` |
Expand Down

0 comments on commit b6309bc

Please sign in to comment.