The key genes of DNJ-TFs against T2DM were identified by network pharmacology and enriched the KEGG signaling pathway, among which the tumor necrosis factor (TNF) signaling pathway attracted our attention. Here, TNF is linked to type 2 diabetes mellitus.