Network analysis identified 5 core compounds (Quercetin, Kaempferol, beta-Sitosterol, Isocorypalmine, Stigmasterol) and 8 core proteins (AKT1, ESR1, TP53, IL6, JUN, MYC, TNF, EGFR) that play pivotal roles in the treatment of UC and T2DM by WMP. The gene discussed is IL6; the disease is type 2 diabetes mellitus.