Graph Hashing#

Functions for hashing graphs to strings. Isomorphic graphs should be assigned identical hashes. For now, only Weisfeiler-Lehman hashing is implemented.

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

Return Weisfeiler Lehman (WL) graph hash.

weisfeiler_lehman_subgraph_hashes(G[, ...])

Return a dictionary of subgraph hashes by node.