Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonPop committed Jan 28, 2024
1 parent c1c36cf commit 7e551bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/nucleotide_attention.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@

function mouseover() {
const d = this.__data__;
labels.style('font-weight', function (label_d) {return label_d.id == d.id ? "bold" : "normal"})
nodes
.style('opacity', function (node_d) { return node_d.id === d.id ? 1 : .2})
links
Expand All @@ -102,6 +103,7 @@
}

function mouseout(d) {
labels.style('font-weight', 'normal')
nodes.style('opacity', 1)
links
.style('stroke', 'grey')
Expand Down

0 comments on commit 7e551bb

Please sign in to comment.