diff --git a/ui/web/src/pages/knowledge-graph/knowledge-graph-page.tsx b/ui/web/src/pages/knowledge-graph/knowledge-graph-page.tsx index 4fb14fce..4a71f8c4 100644 --- a/ui/web/src/pages/knowledge-graph/knowledge-graph-page.tsx +++ b/ui/web/src/pages/knowledge-graph/knowledge-graph-page.tsx @@ -12,7 +12,7 @@ export function KnowledgeGraphPage() { const [userIdFilter, setUserIdFilter] = useState(""); return ( -
+
{/* Header + filters in one row */}
@@ -44,7 +44,7 @@ export function KnowledgeGraphPage() {
{/* Content */} -
+
{!agentId ? ( +
{/* Search + stats + actions — single compact row */}
{/* Content area */} +
{viewMode === "graph" ? (
)} +
{/* Entity detail dialog */} +
{t("kg.graphView.empty")}
); } return ( -
- - - - { - const type = (n.data as any)?.type as string; - return (TYPE_COLORS[type] || DEFAULT_COLOR).border; - }} - maskColor="rgba(0,0,0,0.1)" - /> - +
+
+ + + + { + const type = (n.data as any)?.type as string; + return (TYPE_COLORS[type] || DEFAULT_COLOR).border; + }} + maskColor="rgba(0,0,0,0.1)" + style={{ width: 100, height: 75 }} + /> + +
{/* Legend */}