我可以在无向加权图上使用 NetworkX Python 库中的 HITS Link 分析算法吗?

Can I use the HITS Link Analysis Algorithm in NetworkX Python Library on a undirected weighted graph?

我想知道是否可以在无向加权图上使用 NetworkX 中的 HITS link 分析算法。接下来我希望按降序对图中节点的中心得分进行排序。

您是否阅读了函数的 docstring

The HITS algorithm was designed for directed graphs but this
algorithm does not check if the input graph is directed and will
execute on undirected graphs.

是的,您可以使用它。