Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: tudor [...] smartguide.com.au
Cc:
AdminCc:

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



Subject: arrow on both the source and target node (end and start point)
Date: Mon, 26 Sep 2016 14:57:04 +1000
To: bug-Graph-Easy [...] rt.cpan.org
From: Tudor Holton <tudor [...] smartguide.com.au>
Hi, I've been trying to get this to work for a few hours but I just can't see what's wrong. When outputting as anything but plaintext, arrows in both directions seem to result in only the end arrow appearing. I've tried: [ a ] <--> [ b ] Which results in: +---+ +---+ | a | <--> | b | +---+ +---+ But if I use the --png switch I get a graphic which looks like: +---+ +---+ | a |----->| b | +---+ +---+ Trying with --as_dot outputs: digraph GRAPH_0 { // Generated by Graph::Easy 0.76 at Mon Sep 26 14:50:23 2016 edge [ arrowhead=open ]; graph [ rankdir=LR ]; node [ fillcolor=white, fontsize=11, shape=box, style=filled ]; a -> b [ arrowhead=open, arrowtail=open, color="#000000" ] } ...which also looks like it's only an arrow at the end, not at the beginning. I've tried this on both v0.75 and v0.76 on Ubuntu 16.04.1 LTS. Any ideas? Cheers, Tudor.
Subject: Re: [rt.cpan.org #118078] arrow on both the source and target node (end and start point)
Date: Mon, 26 Sep 2016 14:58:40 -0400
To: bug-Graph-Easy [...] rt.cpan.org
From: "Tels" <nospam-abuse [...] bloodgate.com>
On Mon, September 26, 2016 12:57 am, Tudor Holton via RT wrote: Show quoted text
> Mon Sep 26 00:57:25 2016: Request 118078 was acted upon. > Transaction: Ticket created by tudor@smartguide.com.au > Queue: Graph-Easy > Subject: arrow on both the source and target node (end and start > point) > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: tudor@smartguide.com.au > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=118078 > > > > Hi,
Hello Tudor, I recently noticed the same issue, it seems to be a bug in the graphviz output. https://stackoverflow.com/questions/3462433/dot-graph-language-how-to-make-bidirectional-edges The attribute "dir=both" is missing. At the moment I don't have time to work on Graph::Easy, but maybe you can produce a patch? Best regards, Tels