Skip Menu |

This queue is for tickets about the GraphViz CPAN distribution.

Report information
The Basics
Id: 37937
Status: resolved
Priority: 0/
Queue: GraphViz

People
Owner: Nobody in particular
Requestors: GUIDO [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.03
Fixed in: (no value)



Subject: Line-formatting for labels does not work
\l, \r, and \c in node labels seem to not work here (graphviz 2.18 installed on Gentoo Linux with GraphViz version 2.03). I expected the code below to produce left-aligned lines. They are, however, centered. See the attachment. Bug in graphviz in GraphViz or am I getting something wrong? This is the script: #! /usr/local/bin/perl -w use strict; use GraphViz; my $g = GraphViz->new; $g->add_node('\lShort line\n\lA long line for testing justification\n'); print $g->as_png;
Subject: graph.png
Download graph.png
image/png 11.7k
graph.png
This issue is fixed in GraphViz2 V 1.00. There're won't be any further development on GraphViz. At least, it's fixed except for bugs in Graphviz itself. See the discussion of this issue in the docs for GraphViz2.