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.