Commit 214b2ee7 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Workaround regression in pygraphviz1.4

parent f7ef1a61
......@@ -322,7 +322,7 @@ def preprocess_nodes(my_graph, bounding_rect, dpi):
kind='cluster')
attrs.append(attr)
for node in my_graph.nodes_iter():
if not node.attr:
if not dict(node.attr):
continue
node.attr.update(name=node.name)
attrs.append(node.attr)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment