17 lines
591 B
Markdown
17 lines
591 B
Markdown
# 2.6 — Frontend: React Flow topology graph (GREEN)
|
|
|
|
Phase: 2 — Topology (Surface B)
|
|
Stage: GREEN
|
|
|
|
Depends on: [2.2](2.2-topology-component-test.md), [2.4](2.4-api-topology.md), [2.5](2.5-api-stream.md)
|
|
|
|
- [ ] Frontend: React Flow, force layout, node -> namespace -> workload
|
|
- [ ] Fetch from [/api/topology](../app/api/topology/route.ts) and [/api/stream](../app/api/stream/route.ts) (mock) instead of importing `clusterMock` directly
|
|
|
|
## Verify
|
|
|
|
```bash
|
|
# trigger a mock delta via /api/stream, observe graph update in <5s without reloading
|
|
curl -N http://localhost:3000/api/stream
|
|
```
|