Integrating Explainability into Graph Neural Network Models for the Prediction of X-ray Absorption Spectra