antv/x6节点添加鼠标悬浮高亮和删除功能 效果鼠标悬浮高亮鼠标移出恢复原状态 效果 鼠标悬浮高亮 this.graph.on('node:mouseenter', ({ node }) => { node.addTools({ name: 'button-remove', args: { x: '100%', y: 0, offset: { x: 0, y: 0 }, }, }) }) 鼠标移出恢复原状态 this.graph.on('node:mouseleave', ({ node }) => { node.removeTools() })