Issue 69 in canviz: edges div-tag overlaps nodes a-tag

9 views
Skip to first unread message

can...@googlecode.com

unread,
Jan 24, 2012, 9:39:44 AM1/24/12
to canviz...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 69 by jeich...@gmail.com: edges div-tag overlaps nodes a-tag
http://code.google.com/p/canviz/issues/detail?id=69

What steps will reproduce the problem?
1. generate a graph where edges overlap clickable node

What is the expected output? What do you see instead?
i expect the a-element representing a node to be clickable. since the
div-element representing an edge overlaps - think of an arrow at 45°, which
generates a pretty large div - the node it is not clickable.

What version of the product are you using? On what operating system?
any

Please provide any additional information below.
patching canvas.js to render edges prior to nodes solved the problem for me.

~/> diff canviz.js.dist canviz.js
402c402
< [this.subgraphs, this.nodes, this.edges].each(function(type) {
---
> [this.subgraphs, this.edges, this.nodes].each(function(type) {


can...@googlecode.com

unread,
Jan 25, 2012, 2:47:58 AM1/25/12
to canviz...@googlegroups.com

Comment #1 on issue 69 by ryandesi...@gmail.com: edges div-tag overlaps
nodes a-tag
http://code.google.com/p/canviz/issues/detail?id=69

Yes, that would make the node div be on top of the edge div. But what if
you were actually trying to click the arrowhead of the edge? See also issue
#50: the arrowhead could have a different URL than the tail or the rest of
the edge. I think the real solution for correct handling of clickable
regions will be finishing either issue #56 or issue #11.

can...@googlecode.com

unread,
Feb 26, 2013, 11:59:42 AM2/26/13
to canviz...@googlegroups.com

Comment #2 on issue 69 by tilgh...@meg.abyt.es: edges div-tag overlaps
nodes a-tag
http://code.google.com/p/canviz/issues/detail?id=69

I just realized that issue #69 is a duplicate of #63. I have a patch
uploaded there against the released version, if the OP is interested.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages