From 3cc8230aefd311b2c35d85bc2f0ed99d11e20787 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Tue, 27 Jan 2015 19:23:10 +0200 Subject: client: make link hover show the url --- src/client/view/graph_view.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/client/view') diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js index fe18ed5c..6930b24d 100644 --- a/src/client/view/graph_view.js +++ b/src/client/view/graph_view.js @@ -440,6 +440,7 @@ function GraphView(spec) { .text(nodeText); node.select('g.node a') .attr("xlink:href", function (d) { return d.url; }) + .attr("xlink:title", function (d) { return d.url; }) .attr("visibility", function(d) { return urlValid(d) ? "visible" : "hidden"; }) .attr("pointer-events", function(d) { return urlValid(d) ? "all" : "none"; }); node.select('g.node text') -- cgit v1.3.1