Skip to content

Commit f8b7bdb

Browse files
committed
fix networkx error
1 parent f7603f4 commit f8b7bdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

streamz/graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def to_graphviz(graph, **graph_attr):
132132
import graphviz
133133

134134
gvz = graphviz.Digraph(graph_attr=graph_attr)
135-
for node, attrs in graph.node.items():
135+
for node, attrs in graph.nodes.items():
136136
gvz.node(node, **attrs)
137137
for edge, attrs in graph.edges().items():
138138
gvz.edge(edge[0], edge[1], **attrs)

0 commit comments

Comments
 (0)