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. Here, AKT1 is linked to type 2 diabetes mellitus.