Skip Menu |

This queue is for tickets about the GraphViz2 CPAN distribution.

Report information
The Basics
Id: 98426
Status: resolved
Priority: 0/
Queue: GraphViz2

People
Owner: Nobody in particular
Requestors: dumb_kane [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: 2.33



Subject: GraphViz2 adds empty labels to all nodes and edges without an explicitly chosen label
I'm using graphviz 2.38.0 For every node and edge defined GraphViz2 adds an empty label attribute: [label = ''] This results in an output_file with blank nodes, as long as the label attribute for the nodes is not explicitly set. This behaviour isn't documented and differs from the way graphviz works, since graphviz uses the name of a node a the default label.
Subject: empty_labels.svg
Download empty_labels.svg
image/svg+xml 1k
empty_labels.svg
Subject: gvt.pl
#!/usr/bin/env perl use strict; use warnings; use GraphViz2; my $g = GraphViz2->new( global => { directed =>1 }, ); $g->add_node( name => $_ ) for 1..2; $g->add_edge( from => 1, to =>2 ); $g->run( output_file => 'empty_labels.svg' ); print $g->dot_input();
Subject: Re: [rt.cpan.org #98426] GraphViz2 adds empty labels to all nodes and edges without an explicitly chosen label
Date: Sat, 30 Aug 2014 08:04:12 +1000
To: bug-GraphViz2 [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
Hi Fjodor That's a bug. Let me fix it. And thanx. On 29/08/14 19:15, Fjodor Fedov via RT wrote: Show quoted text
> Fri Aug 29 05:15:54 2014: Request 98426 was acted upon. > Transaction: Ticket created by fedov > Queue: GraphViz2 > Subject: GraphViz2 adds empty labels to all nodes and edges without an > explicitly chosen label > Broken in: (no value) > Severity: Normal > Owner: Nobody > Requestors: dumb_kane@hotmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=98426 > > > > I'm using graphviz 2.38.0 > > For every node and edge defined GraphViz2 adds an empty label attribute: [label = ''] > This results in an output_file with blank nodes, as long as the label attribute for the nodes is not explicitly set. > This behaviour isn't documented and differs from the way graphviz works, since graphviz uses the name of a node a the default label. >
-- Ron Savage - savage.net.au
From: dumb_kane [...] hotmail.com
Fixed in 2.33 Very nice! Thank you! Am Fr 29. Aug 2014, 18:04:10, ron@savage.net.au schrieb: Show quoted text
> Hi Fjodor > > That's a bug. Let me fix it. > > And thanx. > > On 29/08/14 19:15, Fjodor Fedov via RT wrote:
> > Fri Aug 29 05:15:54 2014: Request 98426 was acted upon. > > Transaction: Ticket created by fedov > > Queue: GraphViz2 > > Subject: GraphViz2 adds empty labels to all nodes and edges > > without an > > explicitly chosen label > > Broken in: (no value) > > Severity: Normal > > Owner: Nobody > > Requestors: dumb_kane@hotmail.com > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=98426 > > > > > > > I'm using graphviz 2.38.0 > > > > For every node and edge defined GraphViz2 adds an empty label > > attribute: [label = ''] > > This results in an output_file with blank nodes, as long as the label > > attribute for the nodes is not explicitly set. > > This behaviour isn't documented and differs from the way graphviz > > works, since graphviz uses the name of a node a the default label. > >
Just cleaning up the bug list. This issue was fixed in V 2.33.