/** * WireLayer Component * * SVG layer that renders all wires below components. * Positioned absolutely with full canvas coverage. */ import React from 'react'; import { useSimulatorStore } from '../../store/useSimulatorStore'; import { WireRenderer } from './WireRenderer'; import { WireInProgressRenderer } from './WireInProgressRenderer'; export const WireLayer: React.FC = () => { const { wires, wireInProgress, selectedWireId } = useSimulatorStore(); return ( {/* Transparent background - allows click-through when not clicking on wires */} {/* Render all wires */} {wires.map((wire) => ( ))} {/* Render wire being created (Phase 2) */} {wireInProgress && ( )} ); };