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

Function zoomWikiGraph

deployments/desktop/static/desktop.js:3807–3811  ·  view source on GitHub ↗
(delta)

Source from the content-addressed store, hash-verified

3805 .slice(0, limit);
3806 }
3807
3808 function relatedPapersForEntry(entry, sourceById, sourceEdges, fallbackPapers = []) {
3809 const relatedIds = new Set(entry?.nodeIds || []);
3810 for (let depth = 0; depth < 2; depth += 1) {
3811 sourceEdges.forEach((edge) => {
3812 if (relatedIds.has(edge.src_id)) relatedIds.add(edge.dst_id);
3813 if (relatedIds.has(edge.dst_id)) relatedIds.add(edge.src_id);
3814 });

Callers 1

bindEventsFunction · 0.85

Calls 2

renderWikiGraphFunction · 0.85
clampFunction · 0.70

Tested by

no test coverage detected