Dot2tex

Latest version: v2.11.3

Safety actively analyzes 631143 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

2.9.0

-----

Released 2014-05-16.

- Added support for preprocessing head and tail label (pgf and tikz).
- Graphviz arrow styles are now mapped to corresponding PGF/TikZ arrows.
- Project is now hosted on GitHub.
- Numbers are now outputted as floats. Some versions of Graphviz uses scientific notation
for small numbers. TeX does not handle that well [issue 11].
- Added support for more Graphviz node shapes when using the tikz output format:
square, diamond, trapezium and star.
- Fixed compatibility issue with Pyparsing 2.0.1.
- Fixed a bug in preprocessing triggered by using the ``--styleonly`` option
with the tikz output format.
- The number of sides in the hexagon tikz shape is now correct. Thanks to Jean Pichon for
reporting this.
- Added support for the point shape when using the TikZ output format.
- Node labels are no longer shown when the node shape is point and the output
format is TikZ.
- Fixed issue 14. Parsing of dimension data from the TeX-log is now
more robust and the ``--autosize`` option should now work in Cygwin.
- Added the ``--progoptions`` option for passing options to the graph layout program.
- Documentation is now built using Sphinx
- Cleaned up internal error handling.
- When dot2tex fails to parse a graph, dot2tex will now raise an exception
and quit. In previous versions dot2tex attempted to run the graph through
Graphviz first.
- Log handlers are no longer configured when using dot2tex as a library.
- Fixed [issue 20]. ``format=positions`` no longer fails if node coordinates
are floats. Thanks to Nicolas Thiery for reporting this bug.
- Fixed several bugs in the parsing of ID numerals. The bug caused labels
like ``label="1.2.3.4"`` to be interpreted as ``label=1.2`` [issue 17].
Thanks to Vsevolod for reporting this.
- ``stdout`` is now properly restored after parsing dot data. Thanks to Nicolas Thiery
for the patch.
- Parentheses, ``()``, in tikz node names are now replaced with ``{}``. Parentheses are not valid
characters in node names. Thanks DamienJadeDuff for reporting this.

2.8.7

-----

Released 2009-10-05.

- Edges with no edge points are now properly handled.
- Added the ``positions`` output format that returns a dictionary with node
names as keys and (x, y) tuples as values. Works only when called as a module.
Feature suggested by Nicolas Thiery.
- Fixed handling of ``stderr`` when creating xdot data. Thanks to Nicolas Thiery
for reporting this bug.
- Exceptions are now caught when accessing invalid win32 registry keys.
Updated Graphviz registry key.
Thanks Andreas Frische for reporting this.
- Fixed templates so that crop code is not inserted when preprocessing the graph.

2.8.6

-----

Released 2009-07-09.

- Added the ``--pgf118`` option for generating code compatible with PGF 1.18 and
earlier.
- Fixed a bug in handling of the special ``d2toptions`` attribute. It was read
even when commented out. Thanks Misha Aizatulin for reporting this.
- Fixed label alignment issues when using recent versions of Graphviz.
- Silenced os.popen3 deprecation warning in Python 2.6.
- Fixed bug in handling of d2toption when dot2tex was used as a module.

2.8.5

-----

Released 2009-03-02

- Updated TikZ/PGF templates to use ``line join=bevel`` instead of
``join=bevel``. The name of the option was changed in PGF 2.0 and ``join``
is now used by TikZ's chain library. The change will break PGF 1.18
compatibility.
- Unquoted unicode strings are now correctly parsed.

2.8.4

-----

Released 2008-09-23.

- Fixed a really stupid bug in the quoting of the Graphviz binaries.
The code in the 2.8.3 release did not quote the binaries at all.
Thanks Peter Collingbourne for spotting this!

2.8.3

-----

- File paths to the Graphviz executables are now quoted. This solves
an issue with paths containing spaces. Thanks Pedro Teixeira and
Mateusz for reporting this.
- Fixed a template typo. Dot2tex looks for the ``<<start_figonlysection>>``,
but ``<<startfigonlysection>>`` is used in the documentation. Now both
versions can be used.
- Added ``--cache`` command line option. If caching is enabled, dot2tex
will check if the input graph has been processed before. If it has
not changed the graph will not be converted (not documented yet).

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.