Dot2tex

Latest version: v2.11.3

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

Scan your dependencies

Page 3 of 5

2.8.2

-----

- Fixed a parsing bug in the detection of output format in cases like::

dot2tex --preproc example.dot | dot2tex

Thanks Peter Collingbourne for the patch!
- Removed obsolete shebang line from dot2tex.py

2.8.1

-----

- Fixed a severe bug in the preprocessing code for the tikz output format.

2.8.0

-----

Released 2008-05-05.

- Node names are now filtered to ensure that they are valid TikZ node names.
- Correct fill and stroke color is now set when using the tikz and pst output formats.
- Invisible nodes now generate zero-size coordinates when using the tikz
output format. This allows drawing edges to/from invisible nodes.
- Added dropshadows.dot and sportsbracket.dot examples.
- Concentrated edges are now supported in the pgf and pstricks output formats.
- The dot parser now correctly parses quoted string like::

label="A \"quote\""
label="\n\nA"

- The dot parser now supports concatenation of double quoted strings using
the + character. Example::

a [label="partA" + "partB" + "partC"];

- Added support for edge compass points when using the tikz output format.
Example: ``a.n -> b.e`` is translated to ``\draw (a.north) ... (b.east)``
- The external pydot module has been replaced with a custom version
of the pydot's dot parser. Available in the dotparsing.py file.
- Added support for file input. If the input data contains the line
``\input{filename.dot}``
filename.dot will be loaded and processed. (Thanks Kim Sullivan for the idea)
- Added interface for using dot2tex as a library. Example::

import dot2tex
testgraph="digraph G {a_1-> a_2 -> a_3 -> a_1;}"
texcode = dot2tex.dot2tex(testgraph,format='tikz',crop=True)

2.7.0

-----

Released 2007-12-10.

- Added the ``--codeonly`` option. When this option is used, only draw
commands are generated. Intended for use with the dot2texi package.
- Minor improvements to the documentation.
- Added ``graphanndtti.tex`` example.

2.6.1

-----

- Fixed missing header in the file dot2tex/dotex
- Fixed various typos in the documentation

2.6.0

-----

Released 2007-09-14.

- Added the ``--autosize`` option. Equivalent to::

> dot2tex --preproc ex.dot | dot2tex

- Added the ``--prog`` option for choosing between dot, neato, circo, towpi
and fdp, when the input is in plain dot format.
- Added the special ``d2toptions`` graph attribute. Allows you to specify
dot2tex options in command line format.
- Added a dot2tex wrapper script and changed setup.py to make it fully
compatible with both setuptools and distutils. A dot2tex module will
now be put in the site-packages directory and a wrapper script in the
scripts directory.
- Fixed typo in error message.
- Added ``--runtests`` option to run doc tests (experimental).
- Fixed issue with wrong template when both the --preview and --figonly
options were used.

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.