Skip to content

Commit

Permalink
NN-656 Bug Fix response time for cluster selection in citation pane
Browse files Browse the repository at this point in the history
  • Loading branch information
TripZz committed Jan 22, 2025
1 parent 3c32ff5 commit 0dbd20b
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions frontend/src/components/visualization/CitationVis.vue
Original file line number Diff line number Diff line change
Expand Up @@ -279,14 +279,13 @@ export default {
? "rgba(255, 255, 255," + com.highlight_opacity + ")"
: "rgba(0, 100, 100, " + com.base_opacity + ")";
}
sigma_instance.graph.nodes().forEach(function (n) {
var node = sigma_instance.graph.getNodeFromIndex(n.id);
!proteins.has(n.id)
? (node.color = "rgb(0,100,100)")
: (node.color = "rgb(255,255,255)");
});
}
sigma_instance.graph.nodes().forEach(function (n) {
var node = sigma_instance.graph.getNodeFromIndex(n.id);
!proteins.has(n.id)
? (node.color = "rgb(0,100,100)")
: (node.color = "rgb(255,255,255)");
});
this.$store.commit("assign_highlightedSet", highlighted_edges);
sigma_instance.refresh();
Expand Down

0 comments on commit 0dbd20b

Please sign in to comment.