(id)
| 304 | // else auto-layout — spread the N reporting nodes evenly around the room so |
| 305 | // they don't overlap. Hardware-agnostic; only node id matters. |
| 306 | _nodeRoomPos(id, idx, total) { |
| 307 | const tag = this.settings.nodePositions && this.settings.nodePositions[id]; |
| 308 | if (tag && Number.isFinite(+tag.x) && Number.isFinite(+tag.y)) { |
| 309 | return { x: +tag.x, y: +tag.y, z: Number.isFinite(+tag.z) ? +tag.z : 1 }; |
| 310 | } |
| 311 | return this._autoLayoutPos(idx, total); |
| 312 | } |