MCPcopy Create free account
hub / github.com/Alfredredbird/CyberKelp / closeGraphView

Function closeGraphView

script.js:702–708  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

700}
701
702function closeGraphView() {
703 const overlay = document.getElementById("graph-overlay");
704 overlay.classList.remove("visible");
705 if (graphSimulation) { graphSimulation.stop(); graphSimulation = null; }
706 document.getElementById("graph-svg").innerHTML = "";
707 document.removeEventListener("keydown", onGraphEscape);
708}
709
710function onGraphEscape(e) {
711 if (e.key === "Escape") closeGraphView();

Callers 2

renderGraphFunction · 0.85
onGraphEscapeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected