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() with strict=True (avoid DOT syntax error).

    ๐Ÿ‘‰ Make undocumented quote(), quote_edge(), and attributes() methods private.