diff options
| author | Alon Levy <alon@pobox.com> | 2015-01-11 16:34:47 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-01-11 16:34:47 +0200 |
| commit | 51eaa9a5c5b05b24510c3cfc5a93499a54833b70 (patch) | |
| tree | 04b77ecbb82cf5ad70cb80c0e5401b5ac92c0b7a /src/client | |
| parent | 895b9f7eb7da793effe57308f47176ad3a264830 (diff) | |
client/graph_view: root links in link_group regardless of selection, Fixes #207
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/view/graph_view.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js index ea9acacd..075848fe 100644 --- a/src/client/view/graph_view.js +++ b/src/client/view/graph_view.js @@ -203,7 +203,7 @@ function GraphView(spec) { relayout = (relayout === undefined && true) || relayout; - link = vis.selectAll("g.link") + link = d3.select(unselected_link_group).selectAll("g.link") .data(graph.links(), function(d) { return d.id; }); link_g = link.enter().append('g') |
