Skip to content

Commit 85333f1

Browse files
feat(frontend): replace Topology/Flow tabs with interactive Code Graph treemap
Reviewed and approved by Principal Engineer. All blocking issues resolved: - Stale cytoscape vendor chunks deleted - Dead Topology/Flow API methods and types removed - @radix-ui/react-tabs dead dependency removed Co-Authored-By: Paperclip <noreply@paperclip.ing>
1 parent 8f80799 commit 85333f1

21 files changed

Lines changed: 1595 additions & 1618 deletions

src/main/frontend/package-lock.json

Lines changed: 705 additions & 67 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/frontend/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@
1414
"@radix-ui/react-dropdown-menu": "^2.1.6",
1515
"@radix-ui/react-scroll-area": "^1.2.3",
1616
"@radix-ui/react-select": "^2.1.6",
17-
"@radix-ui/react-tabs": "^1.1.3",
1817
"@radix-ui/react-tooltip": "^1.1.8",
18+
"@types/d3": "^7.4.3",
1919
"clsx": "^2.1.1",
20-
"cytoscape": "^3.30.4",
21-
"cytoscape-dagre": "^2.5.0",
20+
"d3": "^7.9.0",
2221
"lucide-react": "^0.474.0",
2322
"react": "^18.3.1",
2423
"react-dom": "^18.3.1",
@@ -30,7 +29,6 @@
3029
"dompurify": "^3.3.3"
3130
},
3231
"devDependencies": {
33-
"@types/cytoscape": "^3.21.9",
3432
"@types/react": "^18.3.18",
3533
"@types/react-dom": "^18.3.5",
3634
"@types/swagger-ui-react": "^4.18.3",

src/main/frontend/src/App.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import { Routes, Route, Navigate } from 'react-router-dom';
22
import Layout from './components/Layout';
33
import Dashboard from './components/Dashboard';
4-
import TopologyView from './components/TopologyView';
4+
import CodeGraphView from './components/CodeGraphView';
55
import ExplorerView from './components/ExplorerView';
6-
import FlowView from './components/FlowView';
76
import McpConsole from './components/McpConsole';
87
import SwaggerView from './components/SwaggerView';
98

@@ -12,10 +11,9 @@ export default function App() {
1211
<Routes>
1312
<Route element={<Layout />}>
1413
<Route path="/" element={<Dashboard />} />
15-
<Route path="/topology" element={<TopologyView />} />
14+
<Route path="/graph" element={<CodeGraphView />} />
1615
<Route path="/explorer" element={<ExplorerView />} />
1716
<Route path="/explorer/:kind" element={<ExplorerView />} />
18-
<Route path="/flow" element={<FlowView />} />
1917
<Route path="/console" element={<McpConsole />} />
2018
<Route path="/api-docs" element={<SwaggerView />} />
2119
<Route path="*" element={<Navigate to="/" replace />} />

0 commit comments

Comments
 (0)