diff --git a/docs/api/Graph.en.md b/docs/api/Graph.en.md index ede50f40c92..0d17fbb2cdf 100644 --- a/docs/api/Graph.en.md +++ b/docs/api/Graph.en.md @@ -371,7 +371,7 @@ Add item(node, edge, or group) to the graph. | Name | Type | Required | Description | | --- | --- | --- | --- | | type | string | true | The type of the item. Options: `'node'`, `'edge'`, and `'group'`. | -| model | Object | true | The data model of the item, refer to [Item Model Properties](/en/docs/api/itemProperties). When `type: 'group'`, refer to [Create Node Group](/en/docs/manual/advanced/create-node-group) | +| model | Object | true | The data model of the item, refer to [Item Model Properties](/en/docs/api/nodeEdge/itemProperties). When `type: 'group'`, refer to [Create Node Group](/en/docs/manual/advanced/create-node-group) | **Usage** @@ -417,7 +417,7 @@ If there are combos in the graph, after calling updateItem to update the positio | Name | Type | Required | Description | | ---- | --------------- | -------- | ----------------------------------- | | item | string / Object | true | The ID or the instance of the item | -| cfg | Object | false | New data model, refer to [Item Model Properties](/en/docs/api/itemProperties) | +| cfg | Object | false | New data model, refer to [Item Model Properties](/en/docs/api/nodeEdge/itemProperties) | **Usage** diff --git a/docs/api/Graph.zh.md b/docs/api/Graph.zh.md index 57024a8cf94..3206fe910fd 100644 --- a/docs/api/Graph.zh.md +++ b/docs/api/Graph.zh.md @@ -372,7 +372,7 @@ graph.expandGroup('groupId'); | 名称 | 类型 | 是否必选 | 描述 | | --- | --- | --- | --- | | type | string | true | 元素类型,可选值为 `'node'`、`'edge'` 和 `'group'` | -| model | Object | true | 元素的数据模型,具体内容参见[元素配置项](/zh/docs/api/itemProperties)。`type: 'group'` 时,参看 [手动创建节点分组文档](/zh/docs/manual/advanced/create-node-group) | +| model | Object | true | 元素的数据模型,具体内容参见[元素配置项](/zh/docs/api/nodeEdge/itemProperties)。`type: 'group'` 时,参看 [手动创建节点分组文档](/zh/docs/manual/advanced/create-node-group) | **用法** @@ -418,7 +418,7 @@ graph.addItem('group', model); | 名称 | 类型 | 是否必选 | 描述 | | ---- | --------------- | -------- | ------------------ | | item | string / Object | true | 元素 ID 或元素实例 | -| cfg | Object | false | 需要更新的数据模型,具体内容参见[元素配置项](/zh/docs/api/itemProperties) | +| cfg | Object | false | 需要更新的数据模型,具体内容参见[元素配置项](/zh/docs/api/nodeEdge/itemProperties) | **用法** diff --git a/docs/api/nodeEdge/Item.zh.md b/docs/api/nodeEdge/Item.zh.md index f02130b30df..543d707b3fd 100644 --- a/docs/api/nodeEdge/Item.zh.md +++ b/docs/api/nodeEdge/Item.zh.md @@ -19,7 +19,7 @@ Item 是 G6 中绘图元素实例,目前包含节点和边的实例。对于 提示: -其中参数 model 可包括以下属性,下面属性的详细描述参见 [元素配置项](/zh/docs/api/itemProperties): +其中参数 model 可包括以下属性,下面属性的详细描述参见 [元素配置项](/zh/docs/api/nodeEdge/itemProperties): | 名称 | 类型 | 是否必选 | 描述 | | ----- | ------ | -------- | -------------------------------------- |