The megathrust earthquake threat along the southern coast of Java, with a potential magnitude approaching M 8.9, has resurfaced in various official statements by experts from the Agency for Meteorology, Climatology, and Geophysics (BMKG) and the National Research and Innovation Agency (BRIN). Daerah Istimewa Yogyakarta (DIY), which lies directly across from the South Java Megathrust segment is particularly vulnerable to significant earthquakes and tsunamis. This vulnerability underscores the need for adaptive and well-planned mitigation strategies. This research develops a graph-based evacuation model by employing the Floyd–Warshall algorithm to identify optimal evacuation locations and strategic routes from high-risk areas. The application of graph theory allows us to represent the relationships among geographical, infrastructural, and demographic elements, enabling a systematic and efficient analysis of evacuation routes. The research involved reviewing literature, collecting data, and designing a graph model. The results of this research are expected to complement existing early warning systems and serve as a decision-support tool to enhance disaster preparedness for coastal communities in the DIY region against tsunami hazards induced by megathrust activity. Moreover, this model contributes to achieving the Sustainable Development Goals (SDGs), particularly Goal 11 which focuses on sustainable cities and resilient human settlements. Keywords: Earthquake, Floyd-Warshall Algorithm, Graph Theory, SDGs, Tsunami
Copyrights © 2026