From 5a92484912e1b6f251f1c1c13a68f5c6eeaa2d2a Mon Sep 17 00:00:00 2001 From: Fringg Date: Sun, 22 Mar 2026 09:39:19 +0300 Subject: [PATCH] fix: add fill border to node-border program config The createNodeBorderProgram was missing the second border entry with { size: { fill: true }, color: { attribute: 'color' } } which renders the node's fill color. Without it, node bodies were transparent and only edges were visible. --- src/pages/ReferralNetwork/components/NetworkGraph.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pages/ReferralNetwork/components/NetworkGraph.tsx b/src/pages/ReferralNetwork/components/NetworkGraph.tsx index e7ce30e..69e2e85 100644 --- a/src/pages/ReferralNetwork/components/NetworkGraph.tsx +++ b/src/pages/ReferralNetwork/components/NetworkGraph.tsx @@ -127,6 +127,10 @@ const BorderedNodeProgram = createNodeBorderProgram({ size: { attribute: 'borderSize', defaultValue: 0 }, color: { attribute: 'borderColor' }, }, + { + size: { fill: true }, + color: { attribute: 'color' }, + }, ], });