We introduce a new perspective and a generalization of spectral networks for
4d N=2 theories of class S associated to Lie algebras
g=An​, Dn​, E6​, and
E7​. Spectral networks directly compute the BPS spectra of 2d
theories on surface defects coupled to the 4d theories. A Lie algebraic
interpretation of these spectra emerges naturally from our construction,
leading to a new description of 2d-4d wall-crossing phenomena. Our construction
also provides an efficient framework for the study of BPS spectra of the 4d
theories. In addition, we consider novel types of surface defects associated
with minuscule representations of g.Comment: 68 pages plus appendices; visit
http://het-math2.physics.rutgers.edu/loom/ to use 'loom,' a program that
generates spectral networks; v2: version published in JHEP plus minor
correction