From 006b648dd09f3ee1965e54fd8a991c3c8513cf28 Mon Sep 17 00:00:00 2001 From: Tobias Hopp Date: Wed, 16 Apr 2025 16:18:24 +0200 Subject: [PATCH] Update width for relationship edges Took 6 minutes --- frontend/src/components/FriendshipNetwork.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/FriendshipNetwork.tsx b/frontend/src/components/FriendshipNetwork.tsx index 2dcc967..2da3328 100644 --- a/frontend/src/components/FriendshipNetwork.tsx +++ b/frontend/src/components/FriendshipNetwork.tsx @@ -376,7 +376,7 @@ const FriendshipNetwork: React.FC = () => { // Create edges const graphEdges = relationships.map(rel => { const color = RELATIONSHIPS[rel.type as RELATIONSHIP_TYPES]?.color || RELATIONSHIPS.custom.color; - const width = rel.type === 'partner' ? 4 : rel.type === 'familie' ? 3 : 2; + const width = rel.type === 'partner' ? 4 : rel.type === 'family' ? 3 : rel.type === 'acquaintance' ? 2 : 1; // Highlight edges connected to selected node const isHighlighted = selectedPersonId && settings.highlightConnections && (rel.source === selectedPersonId || rel.target === selectedPersonId);