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 const range = selection.getRangeAt(0);
3258 if (!body.contains(range.commonAncestorContainer)) {
3259 hideReportAnnotationToolbar();
3260 return;
3261 }
3262 state.reportAnnotationRange = range.cloneRange();
3263 const rect = range.getBoundingClientRect();
3264 if (!rect.width && !rect.height) {
3265 hideReportAnnotationToolbar();
3266 return;
3267 }
3268 toolbar.classList.add("visible");
3269 const toolbarRect = toolbar.getBoundingClientRect();

Callers 3

relatedPapersForEntryFunction · 0.85
layoutGraphFunction · 0.85
graphNodesByIdFunction · 0.85

Calls 1

graphIdFunction · 0.85

Tested by

no test coverage detected