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

Function setWikiView

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

Source from the content-addressed store, hash-verified

4024 }
4025
4026 function setWikiView(view) {
4027 state.wikiView = view;
4028 document.querySelectorAll("[data-wiki-view]").forEach((button) => {
4029 button.classList.toggle("active", button.dataset.wikiView === view);
4030 });
4031 if (view === "list") {
4032 renderWikiList();
4033 } else {
4034 renderWikiGraph();
4035 }
4036 }
4037
4038 function wikiEvidenceMeta(node) {
4039 const type = node.node_type || node.type ? graphTypeLabel(node) : "node";

Callers 1

bindEventsFunction · 0.85

Calls 2

renderWikiListFunction · 0.85
renderWikiGraphFunction · 0.85

Tested by

no test coverage detected