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

Function resetWikiGraphTransform

deployments/desktop/static/desktop.js:3813–3816  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 });
3815 }
3816 return uniqueGraphNodes([
3817 ...Array.from(relatedIds).map((id) => sourceById[id]).filter((node) => node && graphType(node) === "paper"),
3818 ...fallbackPapers
3819 ]).slice(0, 4);

Callers 1

bindEventsFunction · 0.85

Calls 1

applyWikiGraphTransformFunction · 0.85

Tested by

no test coverage detected