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

Function searchWiki

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

Source from the content-addressed store, hash-verified

4155 const graphNote = hasBackendGraph
4156 ? ui().wiki.graphRealNote(layout.nodes.length, totalNodes, layout.sourceEdgeCount)
4157 : state.wikiNodes.length
4158 ? ui().wiki.graphSearchNote(layout.sourceCount, layout.nodes.length)
4159 : ui().wiki.graphDemoNote;
4160 target.innerHTML = `
4161 <div class="graph-canvas">
4162 <div class="graph-viewport">
4163 <svg class="graph-svg" viewBox="0 0 100 100" preserveAspectRatio="none" aria-hidden="true">${lineHtml}</svg>
4164 ${nodeHtml}
4165 </div>
4166 <div class="graph-legend">
4167 <span><i class="legend-dot topic"></i>${escapeHtml(ui().wiki.legend.topic)}</span>
4168 <span><i class="legend-dot method"></i>${escapeHtml(ui().wiki.legend.method)}</span>
4169 <span><i class="legend-dot paper"></i>${escapeHtml(ui().wiki.legend.paper)}</span>
4170 <span><i class="legend-dot frontier"></i>${escapeHtml(ui().wiki.legend.frontier)}</span>
4171 </div>
4172 <div class="graph-tools" aria-label="${escapeHtml(ui().wiki.toolsLabel)}">
4173 <button data-graph-action="zoom-in" type="button" title="${escapeHtml(ui().wiki.zoomIn)}">+</button>
4174 <button data-graph-action="zoom-out" type="button" title="${escapeHtml(ui().wiki.zoomOut)}">-</button>
4175 <button data-graph-action="focus" type="button" title="${escapeHtml(ui().wiki.focusCenter)}">⌖</button>
4176 </div>
4177 </div>
4178 <div class="graph-note">${graphNote}</div>
4179 `;

Callers 1

openCitationSourceFunction · 0.70

Calls 12

loadWikiFunction · 0.85
currentUserFunction · 0.85
renderWikiResultNodesFunction · 0.85
uiFunction · 0.85
setWikiEntryFunction · 0.85
rawGraphTitleFunction · 0.85
rawGraphBodyFunction · 0.85
graphIdFunction · 0.85
renderWikiGraphFunction · 0.85
renderWikiListFunction · 0.85
$Function · 0.70
apiFunction · 0.70

Tested by

no test coverage detected