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 |