Therefore, integrating graph theory methods into deep learning models may lead to better predictions of HER2 status in breast cancer. Here, ERBB2 is linked to breast carcinoma.