()
| 2284 | } |
| 2285 | |
| 2286 | updateSelectionVisuals() { |
| 2287 | if (!this.selectedNeuron) return; |
| 2288 | if (!this.lastNetworkActivations) return; |
| 2289 | if (!this.selectionConnectionData) { |
| 2290 | this.selectionConnectionData = this.collectSelectionConnectionData(); |
| 2291 | } |
| 2292 | this.updateSelectionGlow(); |
| 2293 | const detail = this.buildSelectionDetail(); |
| 2294 | this.currentSelectionDetail = detail; |
| 2295 | this.updateSelectedConnectionColors(detail); |
| 2296 | if (typeof this.focusChangeCallback === "function") { |
| 2297 | this.focusChangeCallback(detail); |
| 2298 | } |
| 2299 | if (typeof this.requestRender === "function") { |
| 2300 | this.requestRender(); |
| 2301 | } |
| 2302 | } |
| 2303 | |
| 2304 | buildSelectionDetail() { |
| 2305 | if (!this.selectedNeuron) return null; |
no test coverage detected