summaryrefslogtreecommitdiff
path: root/src/client/view/graph_view.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-03-09 16:08:17 +0200
committerAlon Levy <alon@pobox.com>2015-03-09 16:08:17 +0200
commitf80ebf34d1a5feb01c09eb8685994c2d78030fab (patch)
tree4c3f24659f4c9f4361229dc785fad1ab8b1671d7 /src/client/view/graph_view.js
parent43ce5a6327ecaa287d846d0ad63ebdbbd1904505 (diff)
client: graph_view: make nodes tab focusable. no visible indication (:focus) and no interaction possible yet
Diffstat (limited to 'src/client/view/graph_view.js')
-rw-r--r--src/client/view/graph_view.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js
index 98f15844..7c9bf189 100644
--- a/src/client/view/graph_view.js
+++ b/src/client/view/graph_view.js
@@ -356,6 +356,7 @@ function GraphView(spec) {
.append("g")
.attr('id', function(d){ return d.id; }) // append node id to enable data->visual mapping
.attr('visibility', 'hidden') // made visible on first tick
+ .attr('tabindex', 0)
.call(drag);
node.attr('class', function(d) {