#643332 [graphviz] tred removes empty labels

Package:
graphviz
Source:
graphviz
Description:
rich set of graph drawing tools
Submitter:
Wouter Koolen-Wijkstra
Date:
2011-09-27 10:52:41 UTC
Severity:
normal
#643332#5
Date:
2011-09-27 10:35:17 UTC
From:
To:
--- Please enter the report below this line. ---

The documentation of 'tred' states that

Nodes and subgraphs are not otherwise affected.

But if I input this graph

digraph G {
         a  [label=""];
         b  [label=" "];
}

tred outputs

digraph G {
         a;
         b        [label=" "];
}

Note that the empty label of node 'a' is now removed. This has the nasty
effect that this node is now suddenly implicitly labelled 'a' instead of
the intended blank.

With kind regards,

Wouter




Debian Release: wheezy/sid
   990 testing         www.debian-multimedia.org
   990 testing         the.earth.li
   990 testing         security.debian.org
   500 unstable        www.debian-multimedia.org
   500 unstable        the.earth.li
   101 experimental    the.earth.li
--- Package information. ---
Depends                      (Version) | Installed
======================================-+-======================
libc6                         (>= 2.7) | 2.13-21
libcdt4                                | 2.26.3-7
libcgraph5                             | 2.26.3-7
libexpat1                  (>= 1.95.8) | 2.0.1-7
libgd2-noxpm     (>= 2.0.36~rc1~dfsg)  |
  OR libgd2-xpm    (>= 2.0.36~rc1~dfsg) | 2.0.36~rc1~dfsg-5.1+b1
libgraph4                              | 2.26.3-7
libgvc5                                | 2.26.3-7
libgvpr1                               | 2.26.3-7
libx11-6                               | 2:1.4.4-1
libxaw7                                | 2:1.0.9-2
libxmu6                                | 2:1.1.0-2
libxt6                                 | 1:1.1.1-2


Recommends          (Version) | Installed
=============================-+-===========
ttf-liberation                | 1.07.0-1


Suggests          (Version) | Installed
===========================-+-===========
gsfonts                     | 1:8.11+urwcyr1.0.7~pre44-4.2
graphviz-doc                | 2.26.3-7