I have a graph where each node has an integer label. If the graph is well-behaved, labeled regions will be continuous. I'd like to write something in python networkx to "fix" bad graphs. For example, inI have a graph where each node has an integer l
I have a graph where each node has an integer label. If the graph is well-behaved, labeled regions will be continuous. I'd like to write something in python networkx to "fix" bad graphs. For example, inI have a graph where each node has an integer l