Package: graphviz
Version: 2.26.3-2
Severity: normal

I believe this problem started with the recent migration of graphviz into 
testing. It is a problem with dot,
but I mention monotone-viz as it is particularly effected by it.

monotone-viz uses dot to lay out its graphs. Specifically, it passes the '-q -y 
-s72' options to dot, but it's
only the '-y' option that's broken. I intercepted the input of dot and created 
the attached test file
dot-in.dot.  Running though 'dot -y' creates a dot output file with additional 
position information for the
nodes and edges. Looking at the output file (attached as dot-out.dot), the 
position of the edge joining the
two nodes is nowhere near the nodes. In this case, all the y-positions are 
negative while the nodes themselves
are on the other side of the x-axis.

I filed the inital bug report against monotone-viz here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573634

Francis

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32.9 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages graphviz depends on:
ii  libc6                2.10.2-6            Embedded GNU C Library: Shared lib
ii  libcdt4              2.26.3-2            rich set of graph drawing tools - 
ii  libcgraph5           2.26.3-2            rich set of graph drawing tools - 
ii  libexpat1            2.0.1-7             XML parsing C library - runtime li
ii  libgd2-xpm           2.0.36~rc1~dfsg-3.1 GD Graphics Library version 2
ii  libgraph4            2.26.3-2            rich set of graph drawing tools - 
ii  libgvc5              2.26.3-2            rich set of graph drawing tools - 
ii  libgvpr1             2.26.3-2            rich set of graph drawing tools - 
ii  libx11-6             2:1.3.3-1           X11 client-side library
ii  libxaw7              2:1.0.7-1           X11 Athena Widget library
ii  libxmu6              2:1.0.5-1           X11 miscellaneous utility library
ii  libxt6               1:1.0.7-1           X11 toolkit intrinsics library

Versions of packages graphviz recommends:
ii  ttf-liberation         1.05.2.20091019-4 Fonts with the same metrics as Tim

Versions of packages graphviz suggests:
pn  graphviz-doc  <none>                     (no description available)
ii  gsfonts       1:8.11+urwcyr1.0.7~pre44-4 Fonts for the Ghostscript interpre

-- no debconf information
digraph "monotone-viz"
{
  graph [ranksep="0.25"] ;
  node [shape=box, width = 1.166667, height = 0.361111] ;
  "1f50b586d83ff72f6ddc3768e5065e27fe730049" [width = 1.94444] ;
  "3fef041abc1169fdd55d05530ffb754b75a4bd73" [width = 2.04167] ;
  "3fef041abc1169fdd55d05530ffb754b75a4bd73" -> 
"1f50b586d83ff72f6ddc3768e5065e27fe730049" [weight = 2] ;
}
digraph "monotone-viz" {
        graph [ranksep="0.25"];
        node [label="\N", shape=box, width="1.166667", height="0.361111"];
        graph [bb="0,0.97222,356,-69.028"];
        "1f50b586d83ff72f6ddc3768e5065e27fe730049" [width="4.9444", 
height="0.36111", pos="178,57"];
        "3fef041abc1169fdd55d05530ffb754b75a4bd73" [width="4.9444", 
height="0.36111", pos="178,13"];
        "3fef041abc1169fdd55d05530ffb754b75a4bd73" -> 
"1f50b586d83ff72f6ddc3768e5065e27fe730049" [weight=2, pos="e,178,-25.084 
178,-42.587 178,-40.242 178,-37.742 178,-35.222"];
}

Reply via email to