<b>Background/Objectives/Methods:</b> Current research on the link between diet and stroke or myocardial infarction primarily focuses on individual food items. However, people's eating habits involve complex combinations of various foods. By employing an innovative approach known as the Gaussian graphical model to identify dietary patterns along with the Cox proportional model, the study aimed to identify dietary networks and explore their relationship with the incidence of stroke and/or myocardial infarction in the Korean population. The research utilized data from 84,729 participants in the Korean Genome and Epidemiological Study (KoGES), including the HEXA cohort (61,140 participants), CAVAS cohort (15,419 participants), and Ansan-Ansung cohort (8170 participants). <b>Results:</b> The network identified five dietary patterns or communities consisting of different food groups, while nine food groups did not belong to any community. The High-Protein and Green Tea Community consistently reduced the risk of stroke and myocardial infarction (MI), particularly among females. In most communities, no significant associations with stroke risk were noted in males, and the Rice and High-Calorie Beverages Community was linked to an increased risk of MI in both the total population and females. <b>Conclusions:</b> Dietary patterns derived from network analysis revealed distinct dietary habits in the Korean population, offering new insights into the relationship between diet and the risk of stroke and MI.