MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / wikiEvidenceMeta

Function wikiEvidenceMeta

deployments/desktop/static/desktop.js:4038–4043  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

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];

Callers 1

renderWikiResultNodesFunction · 0.85

Calls 3

graphTypeLabelFunction · 0.85
normalizeScoreFunction · 0.85
localizeWikiTextFunction · 0.85

Tested by

no test coverage detected