All Versions
Latest Version
Avg Release Cycle
55 days
Latest Release

Changelog History
Page 2

  • v0.16 Changes

    βž• Add .unflatten() method to Graph, Digraph, and Source. Add standalone unflatten().

    Make Source.__str__() return the .source instead of the repr() (like Graph and Digraph).

    Render with dot -K<engine> ... instead of <engine> ... internally β†ͺ (work around upstream issue <>_).

    βž• Add documentation hint to archived upstream version for Windows.

    πŸ“š Re-render most documentation graphs with Graphviz 2.44.1.

  • v0.15 Changes

    Graph and Digraph instances created via the context-manager returned by subgraph() now (re)use directory, format, engine, and encoding from the parent 0️⃣ instead of using defaults (behavioral change). Note that these attributes are only relevant when rendering the subgraph independently (i.e. as a stand-alone graph) from within the with-block, which was previously underdocumented. PR #116 <>_ BMaxV. To reflect that the DOT language does not allow subgraph statements to specify strict (i.e. no way to override the setting of the containing graph), instances created via the context-manager are now strict=None instead of False 0️⃣ (so they continue to render stand-alone as non-strict by default).

    ⬇️ Drop Python 3.5 support and tag Python 3.9 support.

    βž• Add documentation link to new upstream installation procedure for Windows.

  • v0.14.2 Changes

    πŸš€ Adapt graphviz.version() to support the Graphviz Release version entry βœ… format introduced with 2.44.2 (version() is needed to run the tests).

  • v0.14.1 Changes

    Document the colon-separated node[:port[:compass]] format used for tail and head points in the edge()- and edges()-methods. PR #101 <>_ MichaΕ‚ GΓ³ral.

  • v0.14 Changes

    πŸ‘Œ Improve handling of escaped quotes (\"). Different from other layout engine escapes sequences such as \l and \N (which are passed on as is by 0️⃣ default), there is no use case for backslash-escaping a literal quote character because escaping of quotes is done by this library. Therefore, a backslash-escaped quote (e.g. in label='\\"') is now treated the same as a plain unescaped quote, i.e. both label='"' and label='\\"' produce the same DOT source [label="\""] (a label that renders as a literal quote). Before this change, use of '\\"' could break the quoting mechanism creating invalid or unintended DOT, possibly leading to syntax errors from the rendering πŸ–¨ process.

    βž• Add notebook section to documentation.

    βž• Add sphinx.ext.viewcode to docs (note that this currently lacks links for methods, so that not all of the code is linked; use the source repo for reading on).

    πŸ‘Œ Improve test and doc building config.

  • v0.13.2 Changes

    November 08, 2019

    πŸ›  Fix missing support for four-part versions in graphviz.version().

  • v0.13.1 Changes

    November 07, 2019

    🏷 Tag Python 3.8 support.

    πŸ›  Fix quoting for non-ASCII numerals.

  • v0.13 Changes

    September 09, 2019

    βž• Add explicit support for layout engine escape sequences such as \l and \N. These already worked implicitly before but where broken by backslash πŸš€ escaping in 0.12, which is reverted by this release. Escaping now resembles the stdlib re module: literal backslashes need to be escaped (doubled), which is most conveniently done by using raw string literals for strings that πŸ‘‰ use escape sequences (including escaped backslashes), e.g. label=r'\\'.

    βž• Add escape() function (resembling re.escape()) for disabling all meta-characters in a string for rendering.

    🌲 Use logging in example notebook, add notebooks demonstrating layout engines βœ… and escape sequence usage, improve tests with parametrization.

  • v0.12 Changes

    August 21, 2019

    πŸ›  Fix missing escaping of backslashes, e.g. in labels (pull request DNGros).

    βž• Add quiet argument to standalone view() function, and quiet_view argument on .render() and .view() methods. Suppresses the stderr 🏁 output of started viewer processes (unavailable on Windows).

    βž• Add basic debug logging via the stdlib logging module.

    βœ… Reformatted some examples, improved tests by using autospec for mocks.

  • v0.11.1 Changes

    July 05, 2019

    Include stderr in str() of raised subprocess.CalledProcessError.