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
Merge pull request #122 from Lum1104/feat/issue-113-tested-by-coverage
Yuxiang Lin3eb7700a8fe1
diff --cc understand-anything-plugin/packages/dashboard/src/components/CustomNode.tsxindex 26d9a353,39fe3197..bfc50b41--- a/understand-anything-plugin/packages/dashboard/src/components/CustomNode.tsx+++ b/understand-anything-plugin/packages/dashboard/src/components/CustomNode.tsx@@@ -151,12 -151,22 +151,22 @@@ function CustomNodeComponent(<span className={`text-[10px] font-semibold uppercase tracking-wider ${textColor}`}>{data.nodeType}</span>- <span className={`text-[9px] font-mono ${complexityColor}`}>- {data.complexity}- </span>+ <div className="flex items-center gap-1.5">+ <span className={`text-[9px] font-mono ${complexityColor}`}>+ {data.complexity}+ </span>+ {data.tags?.includes("tested") && (+ <span+ className="inline-block w-1.5 h-1.5 rounded-full bg-node-function shadow-[0_0_4px_rgba(90,158,111,0.6)]"+ role="img"+ aria-label="Tested"+ title="Has tests"+ />+ )}+ </div></div>- <div className="text-sm font-serif text-text-primary truncate" title={data.label}>+ <div className="text-sm font-heading text-text-primary truncate" title={data.label}>{truncatedName}</div>diff --cc understand-anything-plugin/skills/understand/merge-batch-graphs.pyindex 17bd862a,8963cbfd..c0c899dd--- a/understand-anything-plugin/skills/understand/merge-batch-graphs.py+++ b/understand-anything-plugin/skills/understand/merge-batch-graphs.py@@@ -288,12 -772,15 +787,18 @@@ def merge_and_normalize(batches: list[dduplicate_count += 1nodes_by_id[nid] = node+ # ── Step 5b: Deterministic tested_by linker ──────────────────────+ # See module-level "Deterministic tested_by linker" section above.+ tested_by_added, tested_by_dropped, tested_by_tagged, tested_by_swapped = link_tests(+ nodes_by_id, all_edges+ )+# ── Step 6: Deduplicate edges, drop dangling ─────────────────────node_ids = set(nodes_by_id.keys())- edges_by_key: dict[tuple[str, str, str], dict] = {}+ # Direction is part of the dedup key so a `forward` edge does not silently+ # overwrite a `bidirectional` one (or vice versa); they're different+ # semantic relationships that the dashboard renders distinctly.+ edges_by_key: dict[tuple[str, str, str, str], dict] = {}for edge in all_edges:src = edge.get("source", "")tgt = edge.get("target", "")