diff --git a/VERSION.properties b/VERSION.properties index a62dd3a9..08f229b8 100644 --- a/VERSION.properties +++ b/VERSION.properties @@ -1,2 +1,2 @@ -client.version=1.20.31 +client.version=1.20.32 server.version=1.16.19 diff --git a/shine-UI/js/pages/network-legacy/force-graph.js b/shine-UI/js/pages/network-legacy/force-graph.js index 9de8472a..829cee38 100644 --- a/shine-UI/js/pages/network-legacy/force-graph.js +++ b/shine-UI/js/pages/network-legacy/force-graph.js @@ -1020,17 +1020,25 @@ export function createForceGraph({ stage, model, onCenterTap, onNodeTap, onNodeL const strength = Math.max(0, Math.min(1, Number(ref?.strength) || Number(n.strength) || 0.5)); const opacity = Math.min(childOpacity, parentOpacity); const shine = Boolean(parent.shining && n.shining) && !n.hidden; - - if (ref?.mutual === false) { - parts.push(...directedFriendEdgePaths(x1, y1, cpx, cpy, x2, y2, relationColor(relationType), opacity * 0.82)); - continue; - } let edgeStroke = relationColor(relationType); if (reverseRelationType && reverseRelationType !== relationType) { const gradientId = `fg-relation-gradient-${gradientIndex++}`; defs.push(``); edgeStroke = `url(#${gradientId})`; } + if (ref?.mutual === false) { + if (shine) { + const gradientId = `fg-directed-shine-${gradientIndex++}`; + defs.push(``); + const d = `M${x1.toFixed(1)} ${y1.toFixed(1)} Q${cpx.toFixed(1)} ${cpy.toFixed(1)} ${x2.toFixed(1)} ${y2.toFixed(1)}`; + parts.push(``); + parts.push(``); + parts.push(``); + } else { + parts.push(...directedFriendEdgePaths(x1, y1, cpx, cpy, x2, y2, edgeStroke, opacity * 0.82)); + } + continue; + } if (shine) { const pnx = -uy; const pny = ux;