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

Function topPaperNodes

deployments/desktop/static/desktop.js:3404–3410  ·  view source on GitHub ↗
(sourceNodes, sourceEdges, limit = 4)

Source from the content-addressed store, hash-verified

3402
3403 async function loadReportContent(reportId, silent = false) {
3404 if (!reportId) return;
3405 const data = await api(`/api/reports/content?report_id=${encodeURIComponent(reportId)}`);
3406 const report = data.report;
3407 if (!report) {
3408 if (!silent) throw new Error(ui().reports.missing);
3409 return;
3410 }
3411 state.currentReport = report;
3412 renderReportList(state.reports, report.report_id);
3413 $("reportViewerTitle").textContent = report.title || ui().reports.defaultTitle;

Callers 1

buildWikiMapFunction · 0.85

Calls 3

graphDegreeMapFunction · 0.85
graphTypeFunction · 0.85
paperScoreFunction · 0.85

Tested by

no test coverage detected