As a result, 8 components (eugenol, emodin, isorhamnetin, nobiletin, isoliquiritigenin, rosmarinic acid, 4-Hydroxy-3-butylphthalide, and acacetin), with higher degree centrality were determined to be the active ingredients of XPF, and 10 hub targets, including (ACE2, HTR1A, HTR2A, AKT1, PKIA, CREB1, BDNF, BCL2, BAX, CASP3, cAMP) were determined as hub targets of XPF in treating CHD with depression. The gene discussed is BCL2; the disease is coronary artery disorder.