From 1c99fc7d6c0cde59b39457e7322882c541da0860 Mon Sep 17 00:00:00 2001 From: Danielle Callan Date: Sun, 26 Nov 2023 22:33:11 -0500 Subject: [PATCH] update link colors --- inst/htmlwidgets/bipartitenetwork.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inst/htmlwidgets/bipartitenetwork.js b/inst/htmlwidgets/bipartitenetwork.js index b968f57..02c86fe 100644 --- a/inst/htmlwidgets/bipartitenetwork.js +++ b/inst/htmlwidgets/bipartitenetwork.js @@ -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 =