* @function GraphMap.prototype.highlight * @version 11.2.0 * @description 高亮节点和边。(在渲染完成后调用) * @param {KnowledgeGraph.highlightParams} params - 高亮参数。
(params)
| 118 | * @param {KnowledgeGraph.highlightParams} params - 高亮参数。 |
| 119 | */ |
| 120 | highlight(params) { |
| 121 | if (!this.graph) { |
| 122 | return; |
| 123 | } |
| 124 | this.graph.highlight(params); |
| 125 | } |
| 126 | /** |
| 127 | * @function GraphMap.prototype.clearHighlight |
| 128 | * @version 11.2.0 |