MCPcopy Index your code
hub / github.com/algorithmicsuperintelligence/openevolve / getNodeColor

Function getNodeColor

scripts/static/js/graph.js:58–62  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

56}
57
58export function getNodeColor(d) {
59 if (d.island !== undefined) return d3.schemeCategory10[d.island % 10];
60 return getComputedStyle(document.documentElement)
61 .getPropertyValue('--node-default').trim() || "#fff";
62}
63
64function getSelectedMetric() {
65 const metricSelect = document.getElementById('metric-select');

Callers 4

updatePerformanceGraphFunction · 0.90
renderGraphFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected