Graphviz v0.7 Release Notes
-
๐ Support setting top-level attrs with
g.attr(key=value)
.โ Add context manager usage of
subgraph()
for adding a subgraph in a with-block.โ Add json-based output formats to known
FORMATS
(Graphviz 2.40+).โฌ๏ธ Drop extra indent level for DOT source with nonempty
graph/node/edge_attr
.โ Add a final newline to a saved DOT source file if it does not end with one.
Raise
subprocess.CalledProcessError
on non-zero exit status from rendering.Raise early when adding a
subgraph()
withstrict=True
(avoid DOT syntax error).๐ Make undocumented
quote()
,quote_edge()
, andattributes()
methods private.