Changelog History
Page 3
-
v0.11 Changes
June 03, 2019โ Add
quiet
argument to.render()
and.pipe()
methods ofGraph
,Digraph
, andSource
objects, allowing to suppressstderr
of the layout subprocess (parity with stand-alonerender()
andpipe()
functions).The rendering process for
render()
methods and stand-alone function is now started from the directory of the rendered dot source file. This allows to render graph descriptions that use relative paths inline (e.g. for referring to image files to be included) by using paths relative to the source file location. Previously, such relative paths would need to be given relative to the directory from whichrender()
was started, so this change is backwards incompatible for code that relied on the previous behaviour.โฌ๏ธ Drop Python 3.4 support.
-
v0.10.1 Changes
October 24, 2018๐ Fix broken renderer argument in
pipe()
method and function. -
v0.10 Changes
October 23, 2018โ Add
format
argument toGraph/Digraph.render()
. This follows stand-alonerender()
function and mirrors theGraph/Digraph.pipe()
method (usually,format
is set on the instance).โ Add
renderer
andformatter
arguments toGraph/Digraph.render()
andpipe()
methods, as well as stand-alonerender()
andpipe()
functions. -
v0.9 Changes
August 18, 2018๐ Use
sys.stderr
to write stderr output from rendering process to stderr (instead of file descriptor inheritance). Ensures stderr is passed in special environments such as IDLE.Suppress rendering process
stdout
inrender()
.๐ Make
quiet=True
also suppressstderr
on success ofrender()
andpipe()
(exit-status0
).๐ป Include
stderr
from rendering process inCalledProcessError
exception. -
v0.8.4 Changes
July 01, 2018๐ท Tag Python 3.7 support (work around subprocess
close_fds
issue on Windows). -
v0.8.3 Changes
๐ Fix compatibility with
python -OO
. -
v0.8.2 Changes
โ Add
nohtml()
to support labels of the form'<...>'
(disabling their default treatment as HTML strings).0๏ธโฃ Make default
'utf-8'
encoding
more visible.Set
encoding = locale.getpreferredencoding()
whenencoding
argument/property is set toNone
explicitly (follow stdlibio.open()
behaviour). -
v0.8.1 Changes
โ Add
Source.from_file()
-classmethod (simpler in-line SVG display of ready-made .gv files within Jupyter).โฌ๏ธ Drop Python 3.3 support.
-
v0.8 Changes
โ Add
clear()
-method forGraph
andDigraph
.โ Add
grapviz.version()
function.โฌ๏ธ Drop dot source extra indent for edge statements following dotguide examples.
Include LICENSE file in wheel.
-
v0.7.1 Changes
๐ Fix
TypeError
ingraphviz.pipe()
with invalid dot code under Python 3.โ Add
copy()
-method forGraph
,Digraph
, andSource
.โ Add
graphviz.render(..., quiet=True)
.๐ Fix
graphivz.view()
exception on unsupported platform.Raise a dedicated
RuntimeError
subclassgraphviz.ExecutableNotFound
when the Graphviz executables are not found.โ Port tests from
nose/unittest
topytest
, extend, use mocks.