Refactors svg & js to ignore state and circuit labels when hovering