As for pairwise comparisons in the network, sodium-glucose co-transporters 2 were significantly superior to insulin (OR: 0.75, 95% CI 0.62–0.91), dipeptidyl peptidase 4 inhibitors (OR: 0.68, 95% CI 0.59–0.78), glucagon-like peptide-1 receptor agonists (OR: 0.65, 95% CI 0.54–0.78), and thiazolidinediones (OR: 0.46, 95% CI 0.27–0.77) in terms of heart failure risk. This evidence concerns the gene INS and heart failure.