From 12c3341bbb18e8e5b0d18748aeb9d422431013e8 Mon Sep 17 00:00:00 2001 From: Spyros Date: Thu, 9 Jul 2026 15:03:07 +0100 Subject: [PATCH] Remove stale Same link type filter from force graph UI. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #34 — backend no longer emits Same links (#553); drop the checkbox, default ignore list, and dead link color case. Co-authored-by: Cursor --- .../src/pages/Explorer/visuals/force-graph/forceGraph.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/application/frontend/src/pages/Explorer/visuals/force-graph/forceGraph.tsx b/application/frontend/src/pages/Explorer/visuals/force-graph/forceGraph.tsx index 29f57c291..0c2328cda 100644 --- a/application/frontend/src/pages/Explorer/visuals/force-graph/forceGraph.tsx +++ b/application/frontend/src/pages/Explorer/visuals/force-graph/forceGraph.tsx @@ -19,7 +19,7 @@ interface DropdownOption { export const ExplorerForceGraph = () => { const [graphData, setGraphData] = useState(); - const [ignoreTypes, setIgnoreTypes] = useState(['same']); + const [ignoreTypes, setIgnoreTypes] = useState([]); const [maxCount, setMaxCount] = useState(0); const [maxNodeSize, setMaxNodeSize] = useState(0); const { @@ -376,8 +376,6 @@ export const ExplorerForceGraph = () => { return 'skyblue'; case 'linked to': return 'gray'; - case 'same': - return 'red'; default: return 'white'; } @@ -473,8 +471,6 @@ export const ExplorerForceGraph = () => { checked={!ignoreTypes.includes('linked to')} onChange={() => toggleLinks('linked to')} /> - {' | '} - toggleLinks('same')} />