Note

This documents the development version of NetworkX. Documentation for the current release can be found here.

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.