Skip Menu |

This queue is for tickets about the Graph CPAN distribution.

Report information
The Basics
Id: 41190
Status: resolved
Priority: 0/
Queue: Graph

People
Owner: Nobody in particular
Requestors: selcukcihan [...] gmail.com
Cc:
AdminCc:

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



Subject: add_edge_by_id on multigraph malfunctioning
Date: Mon, 24 Nov 2008 19:37:57 +0200
To: bug-Graph [...] rt.cpan.org
From: "Selçuk Cihan" <selcukcihan [...] gmail.com>
Hi, following piece of code should add an edge (v0, v1) but it adds (v0, v0) my $G = Graph->new(undirected => 1, vertices => ["v0", "v1", "v2"], multiedged => 1); $G->add_edge_by_id("v0", "v1", "0"); print "$G:\n"; the problem is with the id parameter, "0". when i change it to, say "4", it works. "00" also breaks. i have perl 5.10.0 from activestate, on vista. Graph is version 0.84.
Please retry with Graph 0.86.