feat(web): add peer graph visualization to live mesh dashboard

Renders peers as SVG nodes in a radial layout with animated edges
showing real-time message traffic. Shares the same TanStack Query
cache as LiveStreamPanel (same queryKey). Side-by-side on desktop,
stacked on mobile.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Alejandro Gutiérrez
2026-04-07 23:32:41 +01:00
parent f34b8fbc6b
commit 59332dc47d
3 changed files with 605 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ import {
DashboardHeaderTitle,
} from "~/modules/common/layout/dashboard/header";
import { LiveStreamPanel } from "~/modules/mesh/live-stream-panel";
import { PeerGraphPanel } from "~/modules/mesh/peer-graph-panel";
export const generateMetadata = getMetadata({
title: "Live mesh",
@@ -63,7 +64,10 @@ export default async function LiveMeshPage({
</div>
</DashboardHeader>
<LiveStreamPanel meshId={id} />
<div className="grid grid-cols-1 gap-4 lg:grid-cols-2">
<PeerGraphPanel meshId={id} />
<LiveStreamPanel meshId={id} />
</div>
</>
);
}