Skip to content

Commit

Permalink
update link colors
Browse files Browse the repository at this point in the history
  • Loading branch information
d-callan committed Nov 27, 2023
1 parent 0f56c9b commit 1c99fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/htmlwidgets/bipartitenetwork.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ HTMLWidgets.widget({
.attr('y1', d => findLinkY1(d))
.attr('x2', d => findNodeCX(d, false))
.attr('y2', d => findLinkY2(d))
.style('stroke', function(d) { return d.value > 0 ? 'blue' : 'red'; })
.style('stroke', function(d) { return d.value > 0 ? "#0EADA5" : "#AD3C00"; })
.style('stroke-width', function(d) { return Math.abs(d.value) * 2; });

let sources =
Expand Down

0 comments on commit 1c99fc7

Please sign in to comment.