We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f406294 commit 9a9e2f3Copy full SHA for 9a9e2f3
1 file changed
streamz/graph.py
@@ -131,13 +131,13 @@ def readable_graph(graph):
131
def to_graphviz(graph, **graph_attr):
132
import graphviz
133
134
- digraph_kwargs = {'name', 'comment', 'filename',
+ digraph_kwargs = {'name', 'comment', 'filename',
135
'format', 'engine', 'encoding',
136
- 'graph_attr', 'node_attr', 'edge_attr',
+ 'graph_attr', 'node_attr', 'edge_attr',
137
'body', 'strict', 'directory'}
138
if not digraph_kwargs.intersection(graph_attr):
139
graph_attr = dict(graph_attr=graph_attr)
140
-
+
141
gvz = graphviz.Digraph(**graph_attr)
142
for node, attrs in graph.nodes.items():
143
gvz.node(node, **attrs)
0 commit comments