The network predicted that quercetin, luteolin, kaempferol, and phaseoloidin might be potential ingredients in GP and that PTGS2, AKT, MAPK1, TNF, INSR, IL6, MAPK8, PRKCB, NOS3, iNS, PIK3CG, BCL2, VEGFA, EGFR, CCND1, CASP3, and FOS might be potential targets of T2DM. Here, CASP3 is linked to type 2 diabetes mellitus.