MCPcopy Create free account
hub / github.com/algorithmicsuperintelligence/openevolve / getCurrentEdges

Function getCurrentEdges

scripts/static/js/graph.js:8–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6export function scrollAndSelectNodeById(nodeId) {
7 // Helper to get edges from lastDataStr (as in main.js resize)
8 function getCurrentEdges() {
9 let edges = [];
10 if (typeof lastDataStr === 'string') {
11 try {
12 const parsed = JSON.parse(lastDataStr);
13 edges = parsed.edges || [];
14 } catch {}
15 }
16 return edges;
17 }
18 const container = document.getElementById('node-list-container');
19 if (container) {
20 const rows = Array.from(container.children);

Callers 1

scrollAndSelectNodeByIdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected