antvis/G6

G6有没有搜查功能?search node? #5032

neolee6053 posted onGitHub

问题描述

G6有没有搜查功能?search node?

重现链接

https://codesandbox.io/s/new

重现步骤

如上

预期行为

如上

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]
  • G6 版本: [4.8.17 ]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response


如果你想搜索后定位,首先确认节点 id,然后通过 graph.focusItem(id) 进行定位 https://g6.antv.antgroup.com/api/graph-func/transform#graphfocusitemitem-animate-animatecfg

posted by Yanyan-Wang over 1 year ago

👍谢谢

posted by neolee6053 over 1 year ago

Fund this Issue

$0.00
Funded

Pull requests