From 7685703cbb9a4904d757dd683a62f09406045dc0 Mon Sep 17 00:00:00 2001 From: Costa Shulyupin Date: Fri, 4 Nov 2022 08:34:05 +0200 Subject: [PATCH] update to graphviz.Digraph API --- srcxray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcxray.py b/srcxray.py index 7c1e654..f328b56 100755 --- a/srcxray.py +++ b/srcxray.py @@ -903,7 +903,7 @@ def write_dot(g, dot): dot.write("{ rank=same %s }\n" % (' '.join(['"%s"' % (str(a)) for a in ranks[r]]))) for n in g.nodes(): - prop = Munch(g.node[n]) + prop = Munch(g._node[n]) if scaled and len(ranks): prop.fontsize = 500 + 10000 / (len(ranks[rank(g, n)]) + 1) prop.fontsize = 30 + min(5 * len(g.edges(n)), 50)