Photonic Links: From Theory to Automated Design