我正在使用PyVis构建图表(基本上是调用链)。我喜欢它生成一个带有相关代码的HTML文件来可视化它。是否有一种方法可以生成“搜索节点”功能?我加载的图形非常庞大,我正在寻找一种缩放到感兴趣的节点的功能...
g = Network('1200px', width="100%", notebook=True, directed=True, filter_menu=True)
参考自https://pyvis.readthedocs.io/en/latest/tutorial.html#edges
边缘(Edges)是连接两个节点的线。它们可以带有权重(weight),标签(label),颜色(color)和箭头(arrows)。