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

Function graphDegreeMap

deployments/desktop/static/desktop.js:3249–3256  ·  view source on GitHub ↗
(nodes, edges)

Source from the content-addressed store, hash-verified

3247 }
3248
3249 function updateReportAnnotationToolbar() {
3250 const toolbar = document.querySelector(".annotation-toolbar");
3251 const body = $("reportViewerBody");
3252 const selection = window.getSelection();
3253 if (!toolbar || !body || body.classList.contains("empty") || !selection || selection.rangeCount === 0 || selection.isCollapsed) {
3254 hideReportAnnotationToolbar();
3255 return;
3256 }
3257 const range = selection.getRangeAt(0);
3258 if (!body.contains(range.commonAncestorContainer)) {
3259 hideReportAnnotationToolbar();

Callers 4

conceptEntriesFromGraphFunction · 0.85
topPaperNodesFunction · 0.85
layoutGraphFunction · 0.85
pickWikiFocusNodeIdFunction · 0.85

Calls 2

graphIdFunction · 0.85
graphWeightFunction · 0.85

Tested by

no test coverage detected