retworkx.is_isomorphic¶ is_isomorphic(first, second, /)¶ Determine if 2 graphs are structurally isomorphic This checks if 2 graphs are structurally isomorphic (it doesn’t match the contents of the nodes or edges on the graphs). Parameters first (PyDiGraph) – The first graph to compare second (PyDiGraph) – The second graph to compare Returns True if the 2 graphs are structurally isomorphic, False if they are not Return type bool