* @function KnowledgeGraph.prototype.getModel * @description 获取元素的数据模型。 * @param {Object} item - 元素实例。 * @return {Object} - 返回值为节点的数据模型。
(item)
| 815 | * @return {Object} - 返回值为节点的数据模型。 |
| 816 | */ |
| 817 | getModel(item) { |
| 818 | return this.graphRender.getModel(item); |
| 819 | } |
| 820 | |
| 821 | /** |
| 822 | * @function KnowledgeGraph.prototype.addItem |
no outgoing calls
no test coverage detected