/** * /graph — force-directed entity graph view, Obsidian-style, FULLSCREEN. * * Layout: fixed 100vh viewport, overlay HUD com header + AuthBar no canto, * canvas full-bleed por baixo. Mais imersivo que o layout em container. */ import Link from "next/link"; import { AuthBar } from "@/components/auth-bar"; // W2-TD#12: switched from react-force-graph-2d to @react-sigma. One graph // library is enough; sigma is the one already used by the entity sidebar. import { SigmaGraph } from "@/components/sigma-graph"; export const dynamic = "force-dynamic"; export default function GraphPage() { return (
{/* Top overlay HUD */}
graph · entity co-mention network

▍ Bureau Connections

← home
{/* Bottom legend */}

Cada nó é uma entidade. Arestas = co-menções no mesmo chunk (peso = nº de chunks compartilhados). Clique para expandir vizinhos + abrir a página da entidade. Dados de public.entity_mentions.

{/* Fullscreen canvas */}
); }