(node)
| 4036 | } |
| 4037 | |
| 4038 | function wikiEvidenceMeta(node) { |
| 4039 | const type = node.node_type || node.type ? graphTypeLabel(node) : "node"; |
| 4040 | const score = node.score !== undefined ? `${normalizeScore(node.score)}%` : ""; |
| 4041 | const source = localizeWikiText(node.source || node.paper_title || node.file_path || ""); |
| 4042 | return [type, score, source].filter(Boolean).slice(0, 3); |
| 4043 | } |
| 4044 | |
| 4045 | function setWikiMapFocus(nodeId = "architecture:core") { |
| 4046 | const focus = state.wikiMap?.byId?.[nodeId] || state.wikiMap?.nodes?.[0]; |
no test coverage detected