Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
TypeScript antigravity-skillsbusiness-knowledgeclaude-codeclaude-skillscodebase-analysiscodexcodex-skillsdeveloper-tools-ai-agentgemini-cli-skillskarpathy-llm-wikiknowledge-baseknowledge-graphmemoryopencode-skillspi-agentunderstandcodevibe-coding
fix(dashboard): fix import extension and add dagre node position guard
Lum1104510de2eb1da8
diff --git a/packages/dashboard/src/components/GraphView.tsx b/packages/dashboard/src/components/GraphView.tsxindex 9c389eb0..d544ac79 100644--- a/packages/dashboard/src/components/GraphView.tsx+++ b/packages/dashboard/src/components/GraphView.tsx@@ -13,7 +13,7 @@ import "@xyflow/react/dist/style.css";import CustomNode from "./CustomNode";import type { CustomFlowNode } from "./CustomNode";import { useDashboardStore } from "../store";-import { applyDagreLayout } from "../utils/layout.ts";+import { applyDagreLayout } from "../utils/layout";const nodeTypes = { custom: CustomNode };diff --git a/packages/dashboard/src/utils/layout.ts b/packages/dashboard/src/utils/layout.tsindex 3f8b9c24..fbec2d36 100644--- a/packages/dashboard/src/utils/layout.ts+++ b/packages/dashboard/src/utils/layout.ts@@ -31,6 +31,7 @@ export function applyDagreLayout(const layoutedNodes = nodes.map((node) => {const pos = g.node(node.id);+ if (!pos) return { ...node, position: { x: 0, y: 0 } };return {...node,position: {