Skip Menu |

This queue is for tickets about the Graph-Easy CPAN distribution.

Report information
The Basics
Id: 104328
Status: open
Priority: 0/
Queue: Graph-Easy

People
Owner: Nobody in particular
Requestors: user42_kevin [...] yahoo.com.au
Cc:
AdminCc:

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



Subject: type() on undirected graph
Date: Sun, 10 May 2015 08:16:09 +1000
To: bug-Graph-Easy [...] rt.cpan.org
From: Kevin Ryde <user42_kevin [...] yahoo.com.au>
In Graph::Easy 0.75 on recent debian i386 perl 5.20.2, the type() method on an undirected graph says directed. Eg. a program use Graph::Easy; my $graph = Graph::Easy->new(undirected => 1); print $graph->type(),"\n"; prints "directed" where I expected it to print "undirected". The is_directed() and is_undirected() methods seem ok. Maybe the type() method would do $self->attribute('type') the same as them.