2020-05-17 20:32:42 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-graphviz: updated to 0.14
Version 0.14
------------
Improve handling of escaped quotes (``\"``). Different from other layout engine
escapes sequences such as ``\l`` and ``\N`` (which are passed on as is by
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.
|
2019-11-08 10:24:05 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-graphviz: updated to 0.13.2
Version 0.13.2
Fix missing support for four-part versions in ``graphviz.version()``.
|
2019-11-07 11:58:19 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-graphviz: updated to 0.13.1
Version 0.13.1
Tag Python 3.8 support.
Fix quoting for non-ASCII numerals.
|
2019-10-25 12:19:21 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-graphviz: updated to 0.13
Version 0.13
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.
|
2019-08-26 15:22:27 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-graphviz: updated to 0.12
Version 0.12
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. Supresses 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.
|
2019-07-09 14:38:44 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-graphviz: updated to 0.11.1
Version 0.11.1
Include stderr in str() of raised subprocess.CalledProcessError.
|
2019-06-20 18:31:09 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-graphviz: updated to 0.11
Version 0.11
Add quiet argument to .render() and .pipe() methods of Graph,
Digraph, and Source objects, allowing to suppress stderr of the
layout subprocess (parity with stand-alone render() and pipe()
functions).
The rendering process for render() methods and stand-alone function is now
started from the directory of the renderred 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 which render() was started, so this change is backwards
incompatible for code that relied on the previous behaviour.
Drop Python 3.4 support.
|
2018-11-25 16:10:06 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-graphviz: updated to 0.10.1
Version 0.10.1
--------------
Fix broken renderer argument in pipe() method and function.
Version 0.10
------------
Add format argument to Graph/Digraph.render(). This follows stand-alone
render() function and mirrors the Graph/Digraph.pipe() method (usually,
format is set on the instance).
Add renderer and formatter arguments to Graph/Digraph.render() and
pipe() methods, as well as stand-alone render() and pipe() functions.
|
2018-10-11 12:14:47 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-graphviz: updated to 0.9
Version 0.9
-----------
Use sys.stderr to write stderr output from rendering process to stderr (instead
of file descriptor inhertiance). Ensures stderr is passed in special
enviroments such as IDLE.
Suppress rendering process stdout in render().
Make quiet=True also suppress stderr on success of render() and pipe() (zero
exit-status).
Include stderr from rendering process in CalledProcessError exception.
|
2018-07-17 15:05:47 by Adam Ciarcinski | Files touched by this commit (4) |
Log message:
py-graphviz: added version 0.8.4
|