[Python] Representing Networkx graphs as strings in a consistent way

Discussão em 'Python' iniciado por Stack, Fevereiro 18, 2025.

  1. Stack

    Stack Membro Participativo

    I have multiple Networkx graphs (with node attributes), and I need to represent them as strings. There are several ways to do that, but I need to always get the same string for equal graphs (not isomorphic, by equal I mean that graphs_equal returns true). Is there a way to turn a graph into a string that guarantees this?

    Continue reading...

Compartilhe esta Página