This can be used to check if two graphs are identical. For two graphs to be identical, the topology and leaf nodes have to match, but internal node names do not matter.
graph_hash(graph)
Admixture graph in igraph format
A hash string of the admixture graph