图形哈希#

函数将图散列为字符串。同构图应该被分配相同的散列。目前,只有魏斯费勒雷曼散列法被实施。

weisfeiler_lehman_graph_hash(G[, edge_attr, ...])

返回Weisfeiler-Lehman(WL)图散列。

weisfeiler_lehman_subgraph_hashes(G[, ...])

按节点返回子图散列的字典。