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.
This commit is contained in:
Fringg
2026-03-22 09:39:19 +03:00
parent 61ca5cc53d
commit 5a92484912

View File

@@ -127,6 +127,10 @@ const BorderedNodeProgram = createNodeBorderProgram({
size: { attribute: 'borderSize', defaultValue: 0 },
color: { attribute: 'borderColor' },
},
{
size: { fill: true },
color: { attribute: 'color' },
},
],
});