diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/rz_core.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/rz_core.js b/scripts/rz_core.js index 6f4a3aeb..b31f2360 100644 --- a/scripts/rz_core.js +++ b/scripts/rz_core.js @@ -240,6 +240,7 @@ function update(no_relayout) { var nodeEnter = node.enter() .append("g").attr('class', 'node') + .attr('id', function(d){ return d.id; }) // append node id to enable data->visual mapping .attr('visibility', 'hidden') // made visible on first tick .on("click", function(d, i) { if (d3.event.defaultPrevented) { |
