diff options
| author | Alon Levy <alon@pobox.com> | 2015-01-27 19:23:10 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-01-27 19:23:10 +0200 |
| commit | 3cc8230aefd311b2c35d85bc2f0ed99d11e20787 (patch) | |
| tree | 2c26508324a7566aa44b6a857ea662b3fad0ef2e /src/client/view/graph_view.js | |
| parent | 10602301f4e263746491d9fd4edb6d5ecddc254f (diff) | |
client: make link hover show the url
Diffstat (limited to 'src/client/view/graph_view.js')
| -rw-r--r-- | src/client/view/graph_view.js | 1 |
1 files changed, 1 insertions, 0 deletions
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') |
