Skip to content

Commit

Permalink
docs: add api category for addChildrenData
Browse files Browse the repository at this point in the history
  • Loading branch information
Aarebecca committed Jun 21, 2024
1 parent 62b822b commit a6c77ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/g6/src/runtime/graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,7 @@ export class Graph extends EventEmitter {
* <zh/> 为组合添加子节点使用 addNodeData / addComboData 方法
*
* <en/> Use addNodeData / addComboData method to add child nodes to the combo
* @apiCategory data
*/
public addChildrenData(parentId: ID, childrenData: NodeData[]) {
this.context.model.addChildrenData(parentId, childrenData);
Expand Down

0 comments on commit a6c77ce

Please sign in to comment.