(d)
| 56 | } |
| 57 | |
| 58 | export 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 | |
| 64 | function getSelectedMetric() { |
| 65 | const metricSelect = document.getElementById('metric-select'); |
no outgoing calls
no test coverage detected