Controllable superconducting weak links