I know to check the equality of 2 graphs regardless of the vertex labels, one can use the is_isomorphic() function in NetworkX. However, I have a set of graphs that has fixed number of nodes, edges and connectivity, that is, are all isomorphic to each other, but the labels of the vertices keep changing. In this case, how can I check equality of graphs where all vertex labels also need to be identical?
Each graph looks like below. Each vertex is labeled by a long string.
