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

Function uniqueGraphNodes

deployments/desktop/static/desktop.js:3258–3266  ·  view source on GitHub ↗
(nodes)

Source from the content-addressed store, hash-verified

3256 }
3257
3258 function uniqueGraphNodes(nodes) {
3259 const seen = new Set();
3260 return (nodes || []).filter((node) => {
3261 const id = graphId(node);
3262 if (!id || seen.has(id)) return false;
3263 seen.add(id);
3264 return true;
3265 });
3266 }
3267
3268 const keywordStopWords = new Set([
3269 "the", "and", "for", "with", "from", "that", "this", "are", "was", "were", "into", "across", "using", "used",

Callers 3

relatedPapersForEntryFunction · 0.85
layoutGraphFunction · 0.85
graphNodesByIdFunction · 0.85

Calls 1

graphIdFunction · 0.85

Tested by

no test coverage detected