Debian Codegraph @

CHANGES

raw
1 dot2tex change log
2 ==================
3
4 Here you can see the full list of changes between each dot2tex release.
5
6 2.12.0
7 --------
8
9 - Major code refactoring
10 - Dropped python2
11 - Fixed deprecations
12 - Ownership transfer to sagemath
13
14 2.11.3
15 ------
16
17 Released 2019-03-31
18
19 - Ignore multiline edge labels during preprocessing (issue #27)
20 - Fixed parsing of DOT IDs. Numerals can now be used as node IDs.
21 - Fixed issue #64. Remove \ characters from drawsting.
22
23 2.11.2
24 ------
25
26 - Added support for the circle node shape. Thanks to Alexander Hagen for the pull request.
27 - Fix Popen issue on windows 10 when calling latex. The --autosize option is now working again.
28
29 2.11.1
30 ------
31
32 Released 2019-03-15
33
34 - Fix bug in setup.py entry_points.
35
36 2.11.0
37 ------
38
39 Released 2019-03-15
40
41 - Added support for Python 3! Thanks Travis Scrimshaw!
42 - Various bug fixes.
43
44 2.10.dev
45 --------
46
47 Not released
48
49 - Convert input file to output file only if latter is outdated. Can be overridden by the new
50 --force command line option.
51 - Replaced deprecated opt parse with argparse.
52 - Python 2.7.x is now a requirement (due to the use of the argparse module)
53
54 2.9.1
55 -----
56
57 Not released
58
59 - Preprocessing head and tail labels now works in the ``duplicate`` mode.
60 - Added support for preprocessing head and tail labels (pstricks).
61 - Relaxed syntax for including external dot files. Comments are now allowed after ``\input{}``.
62 - All xdot coordinates are now parsed as float (issue #31).
63 - Added the svgnames option when loading xcolor in the default templates (issue #25).
64
65 2.9.0
66 -----
67
68 Released 2014-05-16.
69
70 - Added support for preprocessing head and tail label (pgf and tikz).
71 - Graphviz arrow styles are now mapped to corresponding PGF/TikZ arrows.
72 - Project is now hosted on GitHub.
73 - Numbers are now outputted as floats. Some versions of Graphviz uses scientific notation
74 for small numbers. TeX does not handle that well [issue #11].
75 - Added support for more Graphviz node shapes when using the tikz output format:
76 square, diamond, trapezium and star.
77 - Fixed compatibility issue with Pyparsing 2.0.1.
78 - Fixed a bug in preprocessing triggered by using the ``--styleonly`` option
79 with the tikz output format.
80 - The number of sides in the hexagon tikz shape is now correct. Thanks to Jean Pichon for
81 reporting this.
82 - Added support for the point shape when using the TikZ output format.
83 - Node labels are no longer shown when the node shape is point and the output
84 format is TikZ.
85 - Fixed issue 14. Parsing of dimension data from the TeX-log is now
86 more robust and the ``--autosize`` option should now work in Cygwin.
87 - Added the ``--progoptions`` option for passing options to the graph layout program.
88 - Documentation is now built using Sphinx
89 - Cleaned up internal error handling.
90 - When dot2tex fails to parse a graph, dot2tex will now raise an exception
91 and quit. In previous versions dot2tex attempted to run the graph through
92 Graphviz first.
93 - Log handlers are no longer configured when using dot2tex as a library.
94 - Fixed [issue 20]. ``format=positions`` no longer fails if node coordinates
95 are floats. Thanks to Nicolas Thiery for reporting this bug.
96 - Fixed several bugs in the parsing of ID numerals. The bug caused labels
97 like ``label="1.2.3.4"`` to be interpreted as ``label=1.2`` [issue 17].
98 Thanks to Vsevolod for reporting this.
99 - ``stdout`` is now properly restored after parsing dot data. Thanks to Nicolas Thiery
100 for the patch.
101 - Parentheses, ``()``, in tikz node names are now replaced with ``{}``. Parentheses are not valid
102 characters in node names. Thanks DamienJadeDuff for reporting this.
103
104 2.8.7
105 -----
106
107 Released 2009-10-05.
108
109 - Edges with no edge points are now properly handled.
110 - Added the ``positions`` output format that returns a dictionary with node
111 names as keys and (x, y) tuples as values. Works only when called as a module.
112 Feature suggested by Nicolas Thiery.
113 - Fixed handling of ``stderr`` when creating xdot data. Thanks to Nicolas Thiery
114 for reporting this bug.
115 - Exceptions are now caught when accessing invalid win32 registry keys.
116 Updated Graphviz registry key.
117 Thanks Andreas Frische for reporting this.
118 - Fixed templates so that crop code is not inserted when preprocessing the graph.
119
120
121 2.8.6
122 -----
123
124 Released 2009-07-09.
125
126 - Added the ``--pgf118`` option for generating code compatible with PGF 1.18 and
127 earlier.
128 - Fixed a bug in handling of the special ``d2toptions`` attribute. It was read
129 even when commented out. Thanks Misha Aizatulin for reporting this.
130 - Fixed label alignment issues when using recent versions of Graphviz.
131 - Silenced os.popen3 deprecation warning in Python 2.6.
132 - Fixed bug in handling of d2toption when dot2tex was used as a module.
133
134
135 2.8.5
136 -----
137
138 Released 2009-03-02
139
140 - Updated TikZ/PGF templates to use ``line join=bevel`` instead of
141 ``join=bevel``. The name of the option was changed in PGF 2.0 and ``join``
142 is now used by TikZ's chain library. The change will break PGF 1.18
143 compatibility.
144 - Unquoted unicode strings are now correctly parsed.
145
146
147 2.8.4
148 -----
149
150 Released 2008-09-23.
151
152 - Fixed a really stupid bug in the quoting of the Graphviz binaries.
153 The code in the 2.8.3 release did not quote the binaries at all.
154 Thanks Peter Collingbourne for spotting this!
155
156 2.8.3
157 -----
158
159 - File paths to the Graphviz executables are now quoted. This solves
160 an issue with paths containing spaces. Thanks Pedro Teixeira and
161 Mateusz for reporting this.
162 - Fixed a template typo. Dot2tex looks for the ``<<start_figonlysection>>``,
163 but ``<<startfigonlysection>>`` is used in the documentation. Now both
164 versions can be used.
165 - Added ``--cache`` command line option. If caching is enabled, dot2tex
166 will check if the input graph has been processed before. If it has
167 not changed the graph will not be converted (not documented yet).
168
169 2.8.2
170 -----
171
172 - Fixed a parsing bug in the detection of output format in cases like::
173
174 dot2tex --preproc example.dot | dot2tex
175
176 Thanks Peter Collingbourne for the patch!
177 - Removed obsolete shebang line from dot2tex.py
178
179
180 2.8.1
181 -----
182
183 - Fixed a severe bug in the preprocessing code for the tikz output format.
184
185 2.8.0
186 -----
187
188 Released 2008-05-05.
189
190 - Node names are now filtered to ensure that they are valid TikZ node names.
191 - Correct fill and stroke color is now set when using the tikz and pst output formats.
192 - Invisible nodes now generate zero-size coordinates when using the tikz
193 output format. This allows drawing edges to/from invisible nodes.
194 - Added dropshadows.dot and sportsbracket.dot examples.
195 - Concentrated edges are now supported in the pgf and pstricks output formats.
196 - The dot parser now correctly parses quoted string like::
197
198 label="A \"quote\""
199 label="\n\nA"
200
201 - The dot parser now supports concatenation of double quoted strings using
202 the + character. Example::
203
204 a [label="partA" + "partB" + "partC"];
205
206 - Added support for edge compass points when using the tikz output format.
207 Example: ``a.n -> b.e`` is translated to ``\draw (a.north) ... (b.east)``
208 - The external pydot module has been replaced with a custom version
209 of the pydot's dot parser. Available in the dotparsing.py file.
210 - Added support for file input. If the input data contains the line
211 ``\input{filename.dot}``
212 filename.dot will be loaded and processed. (Thanks Kim Sullivan for the idea)
213 - Added interface for using dot2tex as a library. Example::
214
215 import dot2tex
216 testgraph="digraph G {a_1-> a_2 -> a_3 -> a_1;}"
217 texcode = dot2tex.dot2tex(testgraph,format='tikz',crop=True)
218
219
220 2.7.0
221 -----
222
223 Released 2007-12-10.
224
225 - Added the ``--codeonly`` option. When this option is used, only draw
226 commands are generated. Intended for use with the dot2texi package.
227 - Minor improvements to the documentation.
228 - Added ``graphanndtti.tex`` example.
229
230 2.6.1
231 -----
232
233 - Fixed missing header in the file dot2tex/dotex
234 - Fixed various typos in the documentation
235
236 2.6.0
237 -----
238
239 Released 2007-09-14.
240
241 - Added the ``--autosize`` option. Equivalent to::
242
243 > dot2tex --preproc ex.dot | dot2tex
244
245 - Added the ``--prog`` option for choosing between dot, neato, circo, towpi
246 and fdp, when the input is in plain dot format.
247 - Added the special ``d2toptions`` graph attribute. Allows you to specify
248 dot2tex options in command line format.
249 - Added a dot2tex wrapper script and changed setup.py to make it fully
250 compatible with both setuptools and distutils. A dot2tex module will
251 now be put in the site-packages directory and a wrapper script in the
252 scripts directory.
253 - Fixed typo in error message.
254 - Added ``--runtests`` option to run doc tests (experimental).
255 - Fixed issue with wrong template when both the --preview and --figonly
256 options were used.
257
258 2.5.0
259 -----
260
261 Released 2007-07-28.
262
263 - Added the TikZ output format (``-f tikz``)
264 - Added the ``lblstyle`` attribute for styling graph, node and edge labels.
265 (PGF and TikZ only)
266 - Added the ``--tikzedgelabels`` option for placing edge labels without
267 using xdot edge label information (tikz and pgf output format only).
268 - Added a topath edge attribute for using TikZ' to paths (tikz and
269 pgf only).
270 - Information about the selected output format is now stored in the graph
271 generated in preprocessing mode. No longer necessary to specify an
272 output format in the final run.
273 - Edges with the same source and dest are now handled correctly in
274 preprocessing mode. Only the edge defined last was preprocessed.
275 - Added the ``--nodeoptions`` and ``--edgeoptions`` options and corresponding
276 ``d2tnodeoptions`` and ``d2tedgeoptions`` graph attribute (tikz only).
277 - Added the ``exstyle`` attribute. Ignored in preprocessing mode. (pgf and
278 tikz only)
279
280 2.0.3
281 -----
282
283 - Special TeX char escape code rewritten. Now works as intended.
284 The ``$`` character was not properly escaped.
285 - Added ``&`` to list of special characters.
286
287
288 2.0.2
289 -----
290
291 - Fixed a severe bug in the interpretation of color attributes in edges.
292 Colors were not reset after a change to a single edge color.
293
294 2.0.1
295 -----
296
297 - Node margins are now interpreted correctly for nodes with size < minsize.
298 - Nodes now grow correctly to fit labels when size > minsize
299 - Updated documentation with an example on how to change node sizes.
300
301 2.0.0
302 -----
303
304 Released 2007-04-23
305
306 - Fixed a number of preprocessing bug related to how node attributes are
307 interpreted.
308 - Added automata.dot example.
309 - Changed the name of the ``--preview`` option to ``--crop``.
310 - Added the --preproc option for preprocessing labels with preview.sty.
311 - Added the --debug option. Writes detailed debug information to dot2tex.log.
312 - The ^ char is now properly escaped.
313 - Default PGF/TikZ template now requires PGF v >= 1.09.
314 - Added new template tags to support preprocessing mode.
315 - Templates for preprocessing, output and figonly mode can now be put
316 in the same file.
317 - Added the ``--alignstr`` option.
318 - Added the ``--valignmode`` option.
319 - Added the ``--usepdflatex`` option.
320
321 1.5.0
322 -----
323
324 Released 2006-10-22
325
326 - Added a few more helpfull error messages.
327 - Added the ``--figonly`` option.
328 - The ``$`` character is now properly escaped.
329 - Fixed a few issues when converting between Graphviz to backend styles.
330 - Fixed scoping issues when drawing edges in duplicate mode.
331 - Added more intelligent detection of xdot input. Older versions of
332 Graphviz does not include the ``xdotversion`` attribute in the
333 output.
334 - Styles are now transfered to the PSTricks and PGF/TikZ backend.
335 - Added a force straight line option to avoid using curves for
336 straight edges.
337 - PGF/TikZ is now set as the default backend.
338 - Fixed a line ending issue in data converted internally to the xdot format.
339 - Added the ``-V`` version command line switch
340 - Added the ``--encoding`` option
341 - Added option for switching node and graph draw order.
342 - Fixed bug in PGF/TikZ color handling
343 - Added the ``--preview`` option to crop graphs
344 - Added ``--figpreamble`` and ``--figpostamble`` options and graph attributes.
345 - Added ``--docpreamble`` option and ``d2tdocpreamble`` graph attribute
346 - Added ``--graphstyle`` option
347 - Added ``--gvcols`` option
348 - Changed default PGF/TikZ arrow type to >=latex'
349
350 1.0.1
351 -----
352
353 - Fixed bug in gvcols.tex
354
355 1.0.0
356 -----
357
358 Released 2006-09-10
359
360 - First public release.