0

I have 2 graphs created with networkx G_1 has 23 edges and 15 nodes, G_2 has 22 edges and 13 nodes. When I run the function nx.graph_edit_distance(G_1, G_2) it takes 20min to run. However when I run it on my graphs G4_ and G_5 that have 5 nodes and 6 edges eaches it only takes 3 seconds to run. Is there any way to speed up the process?

Thanks

I didn't try much as it's a simple function and I'm new to programming and networkX. Thank you for any help

MzBen
  • 1
  • 3
  • the question needs sufficient code for a minimal reproducible example: https://stackoverflow.com/help/minimal-reproducible-example – D.L Mar 24 '23 at 11:23

0 Answers0